CNAME not working WHY oh WHY?

Kevin Darcy kcd at daimlerchrysler.com
Wed May 1 00:36:18 UTC 2002


west.com != test.com.


- Kevin

Derek Caines wrote:

> Q:
> In my zone file i have the following
> ---
> ....
> @ORIGIN test.com
> home        CNAME  machine.wtc
> machine.wtc  A 10.1.1.119
> ---
>
> when quering with dig ---
> %dig  home.test.com ....
> I get
> ---
> ; <<>> DiG 9.1.3 <<>> home.test.com
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 52919
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL:
> 0
>
> ;; QUESTION SECTION:
> ;home.test.com.                 IN      A
>
> ;; ANSWER SECTION:
> home.test.com.          1800    IN      CNAME   machine.wtc.west.com.
>
> ;; AUTHORITY SECTION:
> wtc.test.com.           3412    IN      SOA     ns.test.com.
> dajones.test.com. 11 3600 600 86400 3600
>
> ;; Query time: 2 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Tue Apr 30 18:13:04 2002
> ;; MSG SIZE  rcvd: 110
> ---
>
> Q: Why is this resolving only to a CNAME and not giving an IP for
> home.test.com?
>
> Derek C



More information about the bind-users mailing list