CNAME question

/dev/rob0 rob0 at
Thu Jan 29 22:59:33 UTC 2004

In article <bvbnbg$1ig$1 at>, ike lozada wrote:
> I have bind working except for a minor problem with "CNAME"...

It does not look like a problem. It looks normal.

> working except that when I "ping" the alias name, the response doesnt
> come from the alias itself.
> i.e. normally when I ping a server (for example, ping
> C:\Documents and Settings\xal>ping
> Pinging [] with 32 bytes of data:
> [snip]
> the reply shows, in my case

You might find that the BIND tools for DNS provide better information
about DNS issues. For example, "host" tells you that this is an A
    $ host -a
    Trying ""
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30367
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 0
    ;              IN      ANY
    ;; ANSWER SECTION:       2910    IN      A
You're comparing apples to oranges. Try to ping "". That
is a CNAME, and you'll get the "A" record from your ping client.

> How could I make the reply come from "" instead of
> ""

1. Get your OS vendor to release the source of your ping client, and
   patch it to show the CNAME. FWIW the Unix /bin/ping executables I
   have seen always seem to do this too.
2. Use "A" records as aliases.
  /dev/rob0 - preferred_email=i$((28*28+28))
  or put "not-spam" or "/dev/rob0" in Subject header to reply

More information about the bind-users mailing list