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

Les Mikesell lesmikesell at gmail.com
Fri Sep 24 21:23:45 UTC 2010


On 9/24/2010 4:02 PM, Dotan Cohen wrote:
> 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
>

They are the same.  The $ORIGIN is normally appended to names, but not 
when it has a trailing '.' (in which case you include it yourself).

-- 
   Les Mikesell
    lesmikesell at gmail.com





More information about the CentOS mailing list