Link to home
Start Free TrialLog in
Avatar of wcws
wcws

asked on

Two Nameservers on One Single Machine

Hello,

Can I able to run 2 Name Servers on one single Linux Redhat machine, if yes could you please kindly give me a detail how to step by step instructions how I can do that.

Also I've 2 NIC card will that be done if above is not possible.

Thanks
Avatar of kfullarton
kfullarton

Here's the HOW-TO for DNS on Linux.  I assume your looking to host multiple domains rather than multiple name servers.  BIND will allow you to create multiple domains or zones on one server.  Try these links to get you started.

http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/DNS-HOWTO.html 

http://www.isc.org/index.pl?/sw/bind/

news:comp.protocols.tcp-ip.domains

multiple servers won't work because they both use the same default port for communication.

can you explain just what it is you want to accomplish? (I'm thinking that kfullerton's guess is probably correct!)
Avatar of wcws

ASKER

Just tell me that if I can run only one nameservers in domain names ? or Do I've to have two . As I dont want to buy second machine and setup my secondary name server? If I cant setup 2 nameservers in one machine.

What should I do ?
It depends on how critical this server is to your overall infrastructure.  If it's critical, it's in your best interest to setup a separate, secondary DNS server.  It's not mandatory that you have two for one domain if that's what your asking.
Avatar of wcws

ASKER

ok - I've add just one name server I am getting error when checked @ dnsreport web site.

1) ERROR: You have less than two nameservers. You are required to have at least 2 nameservers (RFC2182 section 5 recommends at least 3 nameservers).

2) FAIL: You have one or more missing (stealth) nameservers. The following nameserver(s) are listed (at your nameservers) as nameservers for your domain, but are not listed at the the parent nameservers (therefore, they may or may not get used, depending on whether your DNS servers return them in the authority section for other requests, per RFC2181 5.4.1). You need to make sure that these stealth nameservers are working; if they are not responding, you may have serious problems! The DNS Report will not query these servers, so you need to be very careful that they are working properly.

dns.mydomain.com

This is listed as an ERROR because there are some cases where nasty problems can occur (if the TTLs vary from the NS records at the root servers and the NS records point to your own domain, for example).

3) WARNING: All of your nameservers (listed at the parent nameservers) are in the same Class C (technically, /24) address space, which means that they are probably at the same physical location. Your nameservers should be at geographically dispersed locations. You should not have all of your nameservers at the same location. RFC2182 3.1 goes into more detail about secondary nameserver location.

Nameservers on separate class C's

4 ) Your DNS servers leak stealth information in non-NS requests:

Stealth nameservers are leaked [dns.mydomain.com.]!

This can cause some serious problems (especially if there is a TTL discrepancy). If you must have stealth NS records (NS records listed at the authoritative DNS servers, but not the parent DNS servers), you should make sure that your DNS server does not leak the stealth NS records in response to other queries.

Stealth NS record leakage
Hi,

If you give the box two IP addresses, you should theoretically be able to run two instances of bind with heavy modificaiton.  It would be better to just not have a secondary nameserver rather than do this.

Ever checked into zoneedit.com for free DNS hosting?? I use em - they're great...

Stephen
why don't you ask you ISP to host a copy of your DNS for you? They'll probably do it for dirt cheap (or at least they *should*). Problem solved! :)
Avatar of wcws

ASKER

Hello,

Will Zone Edit do the same work ?

Thanks
Avatar of wcws

ASKER

Have you guys heard of TinyDns?
Hi have used zone edit,

The nice thing about using it is that you are able to change it on they fly by yourself....They give you alot of free bandwidth before they start charging - in years i've never hit their limit....
Avatar of wcws

ASKER

Could please guide me step by step how to add domain into zone edit.
Avatar of wcws

ASKER

And Also what changes and modification I need to do in my server.
ASKER CERTIFIED SOLUTION
Avatar of steveb3210
steveb3210

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial