[CentOS] Configuring BIND to answer to two domain names (four IP addresses)

Fri Sep 24 21:14:48 UTC 2010
James A. Peltier <jpeltier at sfu.ca>


----- Original Message -----
| ----- Original Message -----
| | On Fri, Sep 24, 2010 at 22:41, Robert Heller <heller at deepsoft.com>
| | wrote:
| | > You need:
| | >
| | > ns1.exampleA.com. IN A 1.1.1.1
| | > ns2.exampleA.com. IN A 1.1.1.2
| | >
| |
| | Here I have found conflicting information, it seems that some
| | sources
| | suggest this instead:
| | ns1 IN A 1.1.1.1
| | ns2 IN A 1.1.1.2
| |
| | Any idea?
| |
| | > And you might also consider:
| | >
| | > www.exampleA.com. IN A 1.1.1.1
| | > www.exampleA.com. IN A 1.1.1.2
| | >
| |
| | Yes, of course! Thanks.
| |
| | --
| | Dotan Cohen
| |
| | http://gibberish.co.il
| | http://what-is-what.com
| | _______________________________________________
| | CentOS mailing list
| | CentOS at centos.org
| | http://lists.centos.org/mailman/listinfo/centos
| 
| 
| This is a matter of preference, but may depend on your configuration
| too. I'm lazy so I use short form
| 
| http://www.zytrax.com/books/dns/ch6/mydomain.html

Damn fingers!

It depends on your configuration because if you don't define $ORIGIN example.com. you need to fully qualify

--
James A. Peltier
Systems Analyst (FASNet), VIVARIUM Technical Director
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax     : 778-782-3045
E-Mail  : jpeltier at sfu.ca
Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
MSN     : subatomic_spam at hotmail.com

Does your OS has a man 8 lart?
http://www.xinu.nl/unix/humour/asr-manpages/lart.html