• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 343
  • Last Modified:

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
0
wcws
Asked:
wcws
  • 6
  • 3
  • 2
  • +1
1 Solution
 
kfullartonCommented:
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

0
 
JammyPakCommented:
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!)
0
 
wcwsAuthor Commented:
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 ?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
kfullartonCommented:
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.
0
 
wcwsAuthor Commented:
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
0
 
steveb3210Commented:
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
0
 
JammyPakCommented:
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! :)
0
 
wcwsAuthor Commented:
Hello,

Will Zone Edit do the same work ?

Thanks
0
 
wcwsAuthor Commented:
Have you guys heard of TinyDns?
0
 
steveb3210Commented:
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....
0
 
wcwsAuthor Commented:
Could please guide me step by step how to add domain into zone edit.
0
 
wcwsAuthor Commented:
And Also what changes and modification I need to do in my server.
0
 
steveb3210Commented:
Well,

Here's the overview...

1.  Sign up for an account on Zoneedit - they will assign you two name servers.
2.  Login to their portal, Click Edit Zone, Add Zone, type in the domain name, whatever.com
3.  You will then see the zone on the list, click on the zone and add whatever records you want (e.g. MX records for mail, A records for www. or ftp.)
4.  Contact your domain registrar and have them point your domain name to the two zone edit records.

You get 5 free zones and approximately 1 Million free DNS lookups - 200MB

An aditional 1M is like $10

I don't have any affiliation with this company other than I use it for all my domains (e.g. do a whois on fargle.org)

Best,
Stephen
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 6
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now