[CentOS] Configuring BIND to answer to two domain names (four IP addresses)
heller at deepsoft.com
Fri Sep 24 18:06:52 EDT 2010
At Fri, 24 Sep 2010 23:02:21 +0200 CentOS mailing list <centos at centos.org> wrote:
> On Fri, Sep 24, 2010 at 22:41, Robert Heller <heller at deepsoft.com> wrote:
> > You need:
> > ns1.exampleA.com. IN Â Â Â A Â Â Â 220.127.116.11
> > ns2.exampleA.com. IN Â Â Â A Â Â Â 18.104.22.168
> Here I have found conflicting information, it seems that some sources
> suggest this instead:
> ns1 IN A 22.214.171.124
> ns2 IN A 126.96.36.199
> Any idea?
When you have an $ORIGIN statement, it defines a suffix to automatically
add to any name that does not end in a '.'. You can do either,
depending on how gratiously verbose you want to be. Of course, being
verbose sort of defeats the whole point of the $ORIGIN statement...
> > And you might also consider:
> > www.exampleA.com. IN Â Â Â A Â Â Â 188.8.131.52
> > www.exampleA.com. IN Â Â Â A Â Â Â 184.108.40.206
> Yes, of course! Thanks.
Robert Heller -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software -- Linux Installation and Administration
http://www.deepsoft.com/ -- Web Hosting, with CGI and Database
heller at deepsoft.com -- Contract Programming: C/C++, Tcl/Tk
More information about the CentOS