about the MX and NS values
Matus UHLAR - fantomas
uhlar at fantomas.sk
Thu Feb 9 07:42:43 UTC 2012
On 09.02.12 15:13, Jeff Peng wrote:
>I was thinking why RFC requires the values of MX and NS must be
>hostname not IP.
because it IS the hostname, not an IP.
A points to IP(v4)
AAAA points to IP(v6)
NS, MX, PTR, CNAME... all others point to hostname.
otherwise, someone would need to decide what is an IP and what is not.
for example, 22.214.171.124 can be an IP, but also a domain name of
126.96.36.199.in-addr.arpa. The only way you can decide which one it is, it
the RR type.
those "common mistaked" of putting IP address into NS or MX reault
<domain> IN MX 188.8.131.52.<domain>.
<domain> IN NS 184.108.40.206.<domain>.
<domain> IN MX 220.127.116.11.
<domain> IN NS 18.104.22.168.
where 4. is not a valid TLD and thus they point nowhere.
>Any glue? Thanks.
you probably mean a clue ;-)
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Depression is merely anger without enthusiasm.
More information about the bind-users