"@" entries and "" entries not transferring

Barry Margolin barmar at alum.mit.edu
Mon Jul 24 23:21:28 UTC 2006


In article <ea2urn$1jd4$1 at sf1.isc.org>,
 "Helmut Schneider" <jumper99 at gmx.de> wrote:

> Hi,
> 
> primary master:
> 
> $ORIGIN .
> $TTL 86400      ; 1 day
> mydomain.tld            IN SOA  whatever. admin.whatever. (
>                                 2006072506 ; serial
>                                 28800      ; refresh (8 hours)
>                                 7200       ; retry (2 hours)
>                                 604800     ; expire (1 week)
>                                 86400      ; minimum (1 day)
>                                 )
>                         NS      whatever.
>                         NS      whatever.
>                         MX      0 whatever.
>                         MX      10 whatever.
> 
> $ORIGIN mydomain.tld.
> 
> test                    A       192.168.0.100
> @                        A       192.168.0.100
> www                     A       192.168.0.100
>                         A       192.168.0.100
> 
> After transferring the zone to the secondary "@" and "" is lost:

There is no record for "".  That line is a second A record for "www".  
But since the IP address is the same as the previous line, it's a 
duplicate and ignored when loading the zone on the master.

> 
> $ORIGIN .
> $TTL 86400      ; 1 day
> mydomain.tld            IN SOA  whatever. admin.whatever. (
>                                 2006072506 ; serial
>                                 28800      ; refresh (8 hours)
>                                 7200       ; retry (2 hours)
>                                 604800     ; expire (1 week)
>                                 86400      ; minimum (1 day)
>                                 )
>                         NS      whatever.
>                         NS      whatever.
>                         MX      0 whatever.
>                         MX      10 whatever.

Are you sure the A record for @ isn't included in the above batch of 
lines?  I presume @ = mydomain.tld, so BIND would have put that above.  
I suspect you left it out when doing all the editing to hide your domain.

> 
> $ORIGIN mydomain.tld.
> test                    A       192.168.0.100
> www                     A       192.168.0.100
> 
> What's wrong?
> 
> root at ns1:/root# named -v
> BIND 9.3.1
> root at ns1:/root#
> 
> Thanks, Helmut

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***



More information about the bind-users mailing list