getting CNAME to work for www.domain.com equals domain.com on http line

Jeff jeep at rahul.net
Sun Mar 9 15:43:25 UTC 2008


Ive read post after post about this topic and I still cant seem to get
it working.
Here is my file, can someone tell me what is wrong to get make:

www.domain.com == domain.com on the http line?

$TTL    86400
domain.com.     1D IN SOA   www.domain.com. ns1.domain.com. (
                    5       ; serial
                    1H      ; refresh
                    15M     ; retry
                    1W      ; expiry
                    1D )    ; minimum
;
; for pings etc
domain.com. IN A xx.xx.xx.xx

;
; Nameservers
    1D IN NS    ns1.domain.com.
    1D IN NS    ns2.domain.com.

; Canonical names
ns1     IN  A xx.xx.xx.1
ns2     IN  A xx.xx.xx.2
; BEFORE CNAME - www        IN  A xx.xx.xx.xx
mail    IN  A xx.xx.xx.xx

; PTR
1   IN  PTR     ns1.domain.com.
2   IN  PTR     ns2.domain.com.
; 3 IN  PTR     www.domain.com.
4   IN  PTR     mail.domain.com.
5   IN  PTR     domain.com.

; MX
domain.com. IN  MX      1   mail.domain.com.

; CNAME
www.domain.com. IN CNAME domain.com.

Thanks


More information about the bind-users mailing list