How to Create a MX record for a subdomain.

Ruben Laban r.laban at ism.nl
Wed Apr 1 09:20:41 UTC 2009


On Wednesday 01 April 2009 at 11:10 (CET), tzqian wrote:
> I would like to add a MX record for subdomain.
>
>
>
> Such as :
>
> smtp                    MX       10.0.106.1
>
>
>
> but this occurs an error:
>
> dns_rdata_fromtext: /var/named/named.domain.com:18: near '10.0.106.1': not
> a valid number

You missed the preference number, and a MX record should point to an A record, 
not an IP. E.g.:
smtp			MX 10	mail.example.net.

-- 
Regards,

Ruben Laban
Systems and Network Administrator
ISM eCompany



More information about the bind-users mailing list