Thanks for all response.
smtp2    MX 10   dns.mydomine.com. 
Works fine.


-----邮件原件-----
发件人: bind-users-boun...@lists.isc.org
[mailto:bind-users-boun...@lists.isc.org] 代表 Ruben Laban
发送时间: 2009年4月1日 17:21
收件人: bind-users@lists.isc.org
主题: Re: How to Create a MX record for a subdomain.

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
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to