Re: Configuring BIND to answer to two domain names (four IP addresses)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



At Fri, 24 Sep 2010 23:02:21 +0200 CentOS mailing list <centos@xxxxxxxxxx> wrote:

> 
> On Fri, Sep 24, 2010 at 22:41, Robert Heller <heller@xxxxxxxxxxxx> 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?

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       1.1.1.1
> > www.exampleA.com. IN      A       1.1.1.2
> >
> 
> 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@xxxxxxxxxxxx       -- Contract Programming: C/C++, Tcl/Tk

                                                                                                           
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux