Domain Name Server (DNS) - Resolv.conf Resetting After Reboot

Apr 23, 2007

I have a VPS (ConetOS 4.4, OpenVZ), it all works fine, however on reboot, the resolv.conf gets reset to some nameservers that are no longer in use, How do I change this so after a reboot it uses the nameservers I am using now?

My current resolv.conf looks like this:


View 2 Replies



Apr 21, 2008

I have a new VPS server in which I did not configure the /etc/resolv.conf file. My VPS has three domains that are all working and resolving fine. But I keep getting an email from my provider that says this:

The hostname ( resolves to. It should resolve to xx.xx.xx.xx. Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for the domain.

Some are all of these problems can be caused by
/etc/resolv.conf being setup incorrectly. Please check this file if youbelieve everything else is correct.

You may be able to automaticly correct this problem by using the Add an A entry for your hostname ' under ' Dns Functions ' in your Web Host Manager.

Why does the actual server hostname need to resolve via dns?

I have confirmed that /etc/hosts looks good and I added an A record in my WHM for each domain. Do I need to configure the /etc/resolv.conf file too? Do I need to list my three domains and my server hostname(v8) and then my two primary DNS servers?

View 10 Replies View Related

DNS & Resolv.conf

Feb 15, 2007

I'm supposed to be completing a server migration on Saturday night. But I have one teeeeny tiny problem....

I have no DNS/nameservers provided by my new DC for the resolv.conf.

They have them - but I don't think they operate like true root nameservers or something. I keep getting a ton of Unroutable Mail Domain errors for server email that should be leaving the new box.

When the resolv.conf was set to use the 4.2.2.x dns servers - it was working fine.
And I don't know if it's ok to just keep it using those or not?...

What other DNS servers can I use for the resolv.conf? Any DC's nameservers? Are there "public" ones available somewhere?

View 9 Replies View Related


Feb 5, 2007

Is it better to put the IP of your server on the first line followed by the dns servers from the datacenter? And, how do you make the changes go in effect? I assume you just restart bind?

View 4 Replies View Related

Ip Addresses On Resolv.conf

Jan 13, 2008

i own a dedicated server with bind running i have assigned 2 IPs for my nameservers.

what IPs should resolv.conf contain? should it have my nameserver IPs or that of hosting provider?

View 5 Replies View Related

Etc/resolv.conf - Secondary Ns

May 20, 2008

My sites all respond very slow (VPS) at the initial loading, that's why I try to check all dns settings.

My current resolv.conf
that is the ns of my hosting provider.

Would I have an advantage if I add another and if so can I simply add my own nameservers?

View 8 Replies View Related

/etc/resolv.conf Rotate

Sep 16, 2007

how to set up /etc/resolv.conf to use the rotate option.

I've tried:
options rotate
options timeout:2
nameserver X.X.X.X
nameserver X.X.X.X

Yes using NSLOOKUP and DIG both always return results from the first name server if it is up (no rotation) and when it is down, the timeout is the default 5 seconds (not the 2 that I specified) before going to the second name server.

View 1 Replies View Related

Resetting Exim Conf

Jan 17, 2007

There is a simple way to reset my exim.conf to default one on a cpanel server?

View 6 Replies View Related

Plesk 12.x / Linux :: Resetting Default Permissions Per Domain

Dec 10, 2014

I have found through the KB the way to do it server wide but I was wondering if there was still a way to reset default domain permissions per domain.

/usr/local/psa/bin/repair --restore-vhosts-permissions - to restore all domain permissions.

View 1 Replies View Related

Automatic Resetting A SUSE Server Multiple Times

Dec 12, 2008

How can I restart a SUSE server multiple times?

how to use Cron to restart the server every 5 minutes and then log the number of times this was done and output it to a file?

View 0 Replies View Related

While Add Subdomain/domain(while Cpanel Edit The Httpd.conf)

Jul 22, 2007

When cpanel edit the httpd.conf(to add subdomain/domain/etc) made a wrong.
In the lines
BytesLog /usr/local/apache/domlogs/
CustomLog /usr/local/apache/domlogs/ combined

it breaks them as follows
BytesLog /usr/local/apache/domlogs/
CustomLog /usr/local/apache/domlogs/

And httpd cannot start and failed.

View 5 Replies View Related

Plesk 12.x / Linux :: Nginx Domain Conf File Blank?

Feb 2, 2015

I recently needed to make some changes to the domain.conf file at the following path: /etc/nginx/plesk.conf.d/vhosts. When I try to edit the file it just has 3 lines at the top warning me that the changes made here would not persist, while other domain confs have full configs inside.

I am positive that the domain in question is set to use nginx, double checked this, so what gives? Why is the file blank?

View 4 Replies View Related

DNS Issues Rndc.conf & Named.conf

Apr 8, 2009

It started with this error:

Bind reloading on server01 using rndc zone: []
Error reloading bind on server01: rndc: connect failed: connection refused

so i did the obvious checked the csf firewall to see if port 953 was enabled and it was

so i took a look at rndc.conf

root@server01 [~]# nano /etc/rndc.conf
#start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "KLGSBmWZrev0I4fR4Tm4GXxdcYSTFzF23b1f9is1M=";

options {
default-key "rndc-key";
default-port 953;
# End of rndc.conf

# Use with the following in named.conf, adjusting the allow list as needed:
#key "rndc-key" {
# algorithm hmac-md5;
# secret "KLGSBmWZrev0I4fR4Tm4GXxdcYSTFzF23b1f9is1M=";
# controls {
# inet port 953
# allow {; } keys { "rndc-key"; };
# };
# End of named.conf
Then i took a look at named.conf

options {
/* make named use port 53 for the source of all queries, to allow
* firewalls to block all ports except 53:

//query-source port 53;

/* We no longer enable this by default as the dns posion exploit
has forced many providers to open up their firewalls a bit */

// Put files that named is allowed to write in the data/ directory:
directory "/var/named"; // the default
pid-file "/var/run/named/";
dump-file "data/cache_dump.db";
statistics-file "data/named_stats.txt";
/* memstatistics-file "data/named_mem_stats.txt"; */

logging {
/* If you want to enable debugging, eg. using the 'rndc trace' command,
* named will try to write the '' file in the $directory (/var/named").
* By default, SELinux policy does not allow named to modify the /var/named" directory,
* so put the default debug log file in data/ :
channel default_debug {
file "data/";
severity dynamic;

// All BIND 9 zones are in a "view", which allow different zones to be served
// to different types of client addresses, and for options to be set for groups
// of zones.
// By default, if named.conf contains no "view" clauses, all zones are in the
// "default" view, which matches all clients.
// If named.conf contains any "view" clause, then all zones MUST be in a view;
// so it is recommended to start off using views to avoid having to restructure
// your configuration files in the future.

view "localhost_resolver" {
/* This view sets up named to be a localhost resolver ( caching only nameserver ).
* If all you want is a caching-only nameserver, then you need only define this view:
match-clients {; };
match-destinations { localhost; };
recursion yes;

zone "." IN {
type hint;
file "/var/named/";

/* these are zones that contain definitions for all the localhost
* names and addresses, as recommended in RFC1912 - these names should
* ONLY be served to localhost clients:
include "/var/named/named.rfc1912.zones";

View 5 Replies View Related

Resolv Entries (space Separated)

Dec 18, 2008

Resolv Entries (space Separated)

I just got a very cheap box intended to learn HyperVM/OpenVZ. just got it tonight and got 5 IPs. So I add those 4 IPs in the Resources > IP Pools section. I don't know what to add in the Resolv Entries (space Separated) field.

if this is not the correct forum for this, please be free to move them.

View 6 Replies View Related

After A Resolv Edit The Horror Story Start

Aug 2, 2008

I have 2 servers hosted with SoftLayer, In 22 Jun, I had reboot my servers, one of them didn't start and then SL said that it's was a reslov problem and we fix it, after that day, I start seeing all my websites traffic start go down , I check Google Analytics and the visitors number is going down everyday, I open a ticket and say that to SL and i think it's was a DNS problem they tell me after a lot of replys that they fix it and i must wait for 72 hours that need for the dns to be updated worldwide, I didn't say that SL support is bad no they are very very helpful support and many thanks to them, but i wanna to listen to your opinions here about my problem, and from where it's?

View 4 Replies View Related

Server Reboot ...

Jan 8, 2008

I had to reboot my server and about 20 minutes later I tried to access the web site but the page was not found... I am able to login to SSH. However, I am not familiar with *nix or the workings of CPanel... What should I do to get the sites back online?

View 9 Replies View Related

Server Reboot, No SSH

Apr 16, 2008

I'm worried a server is dead, and I haven't made any backups of the database

Server went down last night, submitted a reboot request and now the server is not responding to SSH.

It does respond to ping, so I'm assuming Linux might have booted up OK

Has anyone experience with this type of issue?

View 3 Replies View Related

Leaseweb Server Reboot

Sep 8, 2008

I ordered a leaseweb express server 4 box with windows server 2003 and have been running it, installed some software etc which worked out fine.

Anyways, I wanted to disable tcp/ip filtering which I did and afterwards it prompted me that I would have to reboot the server for the changes to take place, I clicked ok and it rebooted. Now I just can't connect with remote desktop, I tried everything.

I'm guessing it either shut down or didn't reboot properly? I tried sending an email to leaseweb support 2 days ago but still no shadow of any reply..

It says that I can reboot the server using the SSC but when I log in there, I can't really find any reboot option.

View 13 Replies View Related

How Can I See The Logs For My Server Before Doing Reboot

Mar 26, 2007

How can I see the logs for my server before doing reboot to see why was high load in my server?

View 2 Replies View Related

Debugging Random Server Reboot

Jul 7, 2009

I was searching google when I saw this => [url]and decided to sign up and post my issue...

I've been plagued over the past few weeks when I noticed the server keeps rebooting randomly ...

View 14 Replies View Related

Bind Fail/server Reboot

Jun 7, 2009

my datacenter says that they have not had power failures(lol yeh right) but i cant seem to figure out why my server seems to be rebooting randomly. so far its happened early 3-5am my times today and yesterday, just its happened 4x more times this morning.

im not sure if cpanel is sending me bind start failures because its not set to auto start up on reboot or if it might be related... but the server seems fine.

View 6 Replies View Related

Anyway To Auto Reboot Server Every 6 Hours?

May 11, 2009

anyway to auto reboot server every 6 hours?

will this effect on the server?

i'm running on CentOS 5 and whm

View 12 Replies View Related

Dedicated Server @ ThePlanet -Reboot

Jun 17, 2009

i have a dedicated server at theplanet.I dont have a remote reboot option.

a friend of mine said,that all dedicated servers have remote reboot options.he says that since i dont have a remote reboot option,i am probably on a shared that correct.does theplanet have shared or vps offerings in the first place ?

i cannot reboot the server,but i can log in through shell as root type in shutdown - and turn the damn thing off.....

View 6 Replies View Related

Plesk 8 Cron To Reboot Server

May 25, 2008

I have Plesk 8 installed I would like to create Scheduled Task as root to reboot the server in every 8 hours.

View 7 Replies View Related

Server Optimisation Request (httpd.conf - My.cnf )

Feb 20, 2007

My Dedicated server is being slow - hopefully someone can give a helping hand

Processor: AMD Single CPU Dual Core Athlon 4200
Memory: 2048MB RAM
Primary Hard Drive: 160GB
Operating System : CentOS 4.x X86_64 Bit
Control Panel: CPanel
uplink port: 100

Apache version 1.3.37
php 4.4.4

View 9 Replies View Related

Exim.conf Missing (cpanel Server)

Jan 7, 2007

Broadcast message from root (Sat Jan 6 15:52:08 2007):

cPanel Layer 2 Update Commencing

Broadcast message from root (Sat Jan 6 16:01:09 2007):

cPanel Layer 2 Install Complete

I got this message while leaving my computer on over the weekend. And suddenly find that my mail server aint' working. So i tried to restart exim

root@kuching [~]# service exim restart
Shutting down exim: [FAILED]
Shutting down antirelayd: [ OK ]
Shutting down spamd: [ OK ]
Starting exim: 2007-01-07 20:47:43 non-existent configuration file(s): /etc/exim.conf
Starting exim-smtps: 2007-01-07 20:47:43 non-existent configuration file(s): /etc/exim.conf
Starting antirelayd: [ OK ]
Starting spamd: [ OK ]

I tried to reinstall exim by # /scripts/exim4 --force

It doesn't work again, so I tried to update again # /scripts/upcp --force

View 13 Replies View Related

IIS 7 Resetting To Default Setting

Jun 16, 2008

I am gonna host a multi-platform website from my home server soon. My home server is basically IIS7 on Windows server 2008. However , I am currently experimenting with IIS7 on vista business .Unfortunalely I have experimented so much that I need to reset IIS7 to default settings.

I haven't backed up atall. So it would be great if someone can assist me in this matter.

View 3 Replies View Related

Small Business Server Hangs On Reboot

Feb 19, 2009

problem I was having which was Windows Small Business Server 2003 would hang on boot up. I never got the time to reinstall the server until now.

I have installed the server and applied all updates. This worked fine until I install the Windows Server 2003 Service Pack 1 or 2. When I install SP1 or SP2 on reboot the server loads the Dell splash screen then the monitor LED light goes orange then green then orange and then just hangs with a blank screen.

I can boot into Safe Mode and uninstall the Service Pack and I can then reboot without any problems. I have installed ADAM SP1.

View 12 Replies View Related

Tracing Cause Of Server Load Spike *after* Reboot

Apr 9, 2009

I have a cpanel, centos server that had to be rebooted due to the high load spike. I was unable to ssh in nor enter whm prior to the reboot so my only option was of course to reboot the server.

Now, I'm trying to trace the cause of the spike. RTG graphs show no indication of a ddos attack.

Inside whm, CPU/Memory/MySQL Usage shows no reds nor yellow warnings either except red for gzip (backup process) at 19% CPU. I doubt this is the cause.

This is from /var/log/messages of the logs slightly before and after the reboot.

Apr 9 13:31:49 server pure-ftpd: (?@ [INFO] Logout.
Apr 9 13:32:05 server pure-ftpd: (? [INFO] New connection from
Apr 9 13:32:28 server pure-ftpd: (? [INFO] New connection from .......

View 4 Replies View Related

Copyrights 2005-15, All rights reserved