Re: dns entry for top domain name

This is a discussion on Re: dns entry for top domain name within the Bind Users forums, part of the DNS and Related Forums category; John wrote: >>>There *is* a problem, however, in setting "$ORIGIN ." followed by an "@" &...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-02-2005
Kevin Darcy
 
Posts: n/a
Default Re: dns entry for top domain name

John wrote:

>>>There *is* a problem, however, in setting "$ORIGIN ." followed by an "@"
>>>entry. Because of the preceding $ORIGIN, named's parser interprets the
>>>"@" as a root-zone entry. In your logs, you should have had another
>>>error message specifying exactly the line on which the fatal error
>>>occurred. Why did you omit that error message?
>>>
>>>
>>>

>
>ok...i started with named with debug and now it shows me the line
>error which it failed.
>
>/bind-8.4.6/src/bin/named
>named[ID 295310 daemon.warning] foo/foo.com:14:foo.com: CNAME and
>OTHER data error
>named[ID 295310 daemon.error] master zone "foo.com" (IN) rejected due
>to errors (serial 2005020102)
>named[25788]: [ID 295310 daemon.error] master zone "foo.com" (IN)
>rejected due to errors (serial 2005020102)
>named[25789]: [ID 295310 daemon.notice] Ready to answer queries.
>
>
>and the file has...
>
>$ORIGIN foo.com.
>$TTL 604800 ; 7 days
>@ IN SOA localhost. info.localhost. (
> 2005020102 ; serial
> 86400 ; refresh
> 900 ; retry
> 604800 ; expire
> 86400 ; minimum
> ) ;
> NS localhost. ;
>
>
>* A 192.168.1.4
>foo.com. CNAME giddieup.dnsalias.com.
>
>
>which means that that CNAME line is not being liked as it is...but I
>thought you said linking CNAME like that is fine..
>

There's no problem with the *target* of an alias being in another
domain. However, the name of a zone cannot own a CNAME record, since the
rule is that when a name owns a CNAME, it cannot own records of any
other type, and obviously the name of a zone owns an SOA record and at
least one NS record.

- Kevin



Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:46 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0