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



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 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

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 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

UK VPS For Secondary DNS

Sep 29, 2008

Is there any cheap / stable VPS vendor in UK likes I just need a minimum VPS (128MB RAM?) for secondary DNS.

View 4 Replies View Related

Secondary DNS VPS

Dec 2, 2007

I signed up with a month ago, and I'm very happy with them . Now I'm looking for a very small VPS to host a secondary DNS server, and maybe a backup MX server.

It's just for personal use.

I think 5GB disk space would be enough, and I would like not to spend more than $10 USD/month. Do you know any VPS that suits my needs?

View 7 Replies View Related

VPS For Secondary DNS For CPanel

May 22, 2009

We need a secondary DNS for our cPanel server, as we want to have separate nameservers. What is the cheapest vps anyone knows that is hosted outside of Bluesquare House (UK). Global location isn't important.

View 2 Replies View Related


Jun 13, 2008

I have a VPS with LXADMIN Hostinabox single server and want to use this VPS as a secondary/slave DNS server. My primary/master DNS is hosted elsewhere.

Does the LXADMIN Hostinanox interface facilitate the ability to setup the secondary zone?

View 2 Replies View Related

Mount Secondary H.D.D

May 20, 2008

mount secondary H.D.D to /backup, but i have following error after run "mount /dev/sdb1 backup"

mount: unknown filesystem type 'ntfs'

How can change secondary hard disk file system to linux?

View 11 Replies View Related

Automatic Secondary DNS

Mar 28, 2007

I have searched for setting up automatic secondary DNS, but couldn't find anything, if I missed it, please post a link

I have 2 VPS's one running cPanel/WHM with about 15 low traffic sites on it. The other is a very slow spec VPS, hopefully just for DNS services.

I only have 1 domain server running currently, this is on the same server as the all the websites, what I want is a secondary DNS mirroring that of the DNS on my cPanel VPS, automaitically....

I was thinking of writting a little script to scp all the .db files in /var/named/ to my secondary server, then login to the secondary server and restart BIND?

View 6 Replies View Related

Secondary DNS Failover

Jul 22, 2008

What happens if your primary nameserver goes down? Meaning that it goes completely off the net, not even denying dns requests but completely ignoring them.

I'd guess that resolvers would query the secondary NS after a specified timeout, but what is that timeout set to? Does it differ from ISP to ISP? How much of a slowdown are we looking at for end users?

View 0 Replies View Related

Offsite Secondary DNS

Jul 5, 2007

would it be possible to have my main box running apache, a second box for dns/other and an offsite secondary dns such as DNS1.PUBLIC-DNS.NET?

Is it possible to authenticate the primary and offsite secondary nameserver so the zone is transferred to the secondary? Would i need to pay for a special service, or do free ones exist? Are there any security implications with zone files being transferred out over the public internet, would a vpn need to be configured or can the process be encrypted via the transfer procedure?

Finally, how would this affect the way the entire virtual hosting works? I know when the nameserver on the host machine serves resolves a name request for a computer trying to browse the site in question, but when the actual http request goes to the web server does it incldue the domain it is looking at also?

View 4 Replies View Related

Secondary Servers

Jul 29, 2007

I just ran into something about Secondary DNS services.

What exactly is that?

Is that where if my primary name server goes down, a secondary name server kicks in and resolves all my donmains to another server somewhere?

I've been thinking about getting setup with some kind of fail safe setup in case my primary name server goes down.

Would Secondary DNS services take care of that?

If so, anybody know where I can find a reliable, affordable secondary DNS service?

View 9 Replies View Related

Secondary IP Addresses Malfunction

Apr 18, 2009

I got 4 IP from

A friend install windows 2008 on top of the vmware.

Then I noticed that the connection is not very right.

So I go to network connection in the hope of changing the DNS.

I just right click the connection and found out that I lost my connection to the server.

Restarting the server allow me to ssh and ping the main IP but none of the secondary IPs work.

View 5 Replies View Related

How To Mount The Secondary Drive

Mar 29, 2009

The problem is that my hd is failed. Hoster setup new server, also installed the secondary drive but not mounted. So need advice how can i get my data off it?

View 3 Replies View Related

One Secondary DNS Server For Two Primary

Apr 22, 2009

I have the following three servers, which I'll call A, B, and C:

Server A - Web hosting server that uses cPanel on CentOS.

Server B - Free subdomain service (similar to but on a much smaller scale), using PowerDNS with a MySQL database backend, on Debian.

Server C - Backup DNS server for the cPanel web hosting server, using the free cPanel "DNS Only" on CentOS.

Originally I had just A and B set up (they're two separate VPSes on the one dedicated server, I own the dedi and some friends and I have VPSes on it). Now I've got a VPS at a different data centre, and am using that for C.

To have a secondary DNS server for server B, I believe I can use MySQL replication to replicate the PowerDNS database to another server, then have a PowerDNS install on that server. My question is, is it possible to have server C as a backup DNS server for both server A (cPanel server) and server B (PowerDNS server)? ie. is there a way to check both PowerDNS and the cPanel BIND9 for domains (have them on different ports, and make one query the other if the lookup fails, perhaps)? Or perhaps use both the MySQL backend and the bind backend simultaneously in PowerDNS, and replace bind with PowerDNS (although I guess cPanel wouldn't like this)?

View 1 Replies View Related

Primary And Secondary Nameservers ..

May 26, 2008

i have just bought a dedicated server with 2 ips.

i already put type master in named.conf along with a zone file having 2 nameservers pointing to A records

ns1 IN A
ns2 IN A

how do i setup ns2 (secondary nameserver)? how do i know it is running?

View 9 Replies View Related

Primary And Secondary Nameservers

Aug 14, 2007

I have two nameservers, each running physically on a different server on different networks. Now I've noticed that whenever the primary NS goes down, clients requesting authoritative NS record lookups refuse to connect to the secondary NS, which I know is certainly up and running. The secondary NS has its own zone files and when you specifically request that server to resolve NS requests, it does the work. But generic NS lookups without specifying the server appears to fail when the primary server is down.

Does anyone know what might be happening here? I know that the domain registrar has both nameservers recorded for the domains I'm trying to resolve, but what is the point of a secondary NS, when it isn't contacted when the primary nameserver is down?

View 0 Replies View Related

Sendmail + Secondary Ip Address

Apr 14, 2008

How would I go about using sendmail with my server's secondary IP address?

It would seem that sendmail automatically sends with the primary

View 1 Replies View Related

Hosting Secondary Nameservers

Jun 13, 2007

I am developing a site for a new company that will run under a medical engineering firm. I'm currently the only employee and am setting up websites and graphics for the company, but working out of the same office as everyone else. We currently have a VPS through iPower to host our site on, and everything is dandy. However we only own one IP address on the VPS, and I want to be in charge of my secondary nameserver, as I will also eventually use it as a secondary MX server. I have never done this before so I have a few questions about it. My previous experience has all been graphic design and web design, not much on the hosting side of things.

1.Is it possible to run a server on a XP desktop just using Apache or similar software (and a dynamic DNS service)?

2. Would it be possible to run this through the company LAN and router to make it accessible via the web without any serious tinkering on their network? (it has to stay up, and I have no idea what kind of routers or firewalls they are using currently). Basically given the standard setup how hard is it to open up the ports on the router(s)? I've done this only on a home router before, so I assume it can't be much different.

3. How do you go about doing it?

View 3 Replies View Related

MySQL On Secondary Harddisk

Mar 5, 2007

I've recently got a server with DA panel and a secondary SCSI 15K to put on mysql which I believe should improve the preformance.

View 1 Replies View Related

DNS Servers Primary Secondary

Mar 22, 2007

clarification on DNS.

We currently have gps devices which report x,y coords. The devices currently report to a fully qualified name: And only one fully qualified name.

We would like to have redudancy, so if the main server goes down, then the secondary takes over. I assume this is accomblished via DNS.

So out first task is to create name servers at our domain registar and have them register them, for example: -> FIRSTSERVERIP -> SECONDSERVERIP

Then on the both servers we setup DNS to accept the a record of points to? This is where I get confused. Does the firstserver DNS say point to itself, and the second DNS server point to itself?

View 2 Replies View Related

Setting Up Primary & Secondary MS DNS Server

May 3, 2009

in setting up Primary & secondary MS DNS server for MS WIn 2003 server,

View 5 Replies View Related

Primary And Secondary Servers (web And Mail)

Jun 30, 2008

I have 2 servers 1 US and 1 UK.

What I wanna do is synchronize both of them using rsync. Once they've got synchronized, the UK will be the primary server and US will be secondary, in case the UK goes down.

my questions are

1. Is it possible that when the UK goes down, the A records for automatically switches to the US server so it can take over while UK is down.

ie. UK ip
US ip 222.111.444.5 A records = UK ip when up... but when UK is down, A records automatically changes to US ip.

2. And when the UK server goes up again, whatever changes made to US server will be pushed to UK. May it be files, accounts or e-mails.


UK and US are synchronized every 30mins. UK and US both have e-mails 1-10.

Just before the sync time, UK server received an e-mail 11-15 then goes down. So the US Server will take over but do not have 11-15 mails, since it was received before sync time. During the UK downtime, US server received e-mails 16-20.

When the UK server goes up, will it be possible to sync both servers that both of them will have the e-mails 1-20?

I hope you get my point...

If these are not feasible, what can you advice as an alternative solution. All I want is to avoid downtimes, especially with mails as the business relies on this.

View 9 Replies View Related

How To Format, Mount A Secondary HDD As /backup

Aug 19, 2008

I have tried the cPanel tool to mount, format, etc. My drive however, it has made my server crash after reboots.

I have to enter single user and remove the lines added to fstab so it will boot.

I tried using the tool again and it failed yet again, can I do it manually, and if so how.

I will have to redo the entire partition, so how do I erase everything first?

View 2 Replies View Related

Copyrights 2005-15, All rights reserved