答复: How to Create a MX record for a subdomain.

tzqian gelenbertang at gmail.com
Wed Apr 1 11:51:44 UTC 2009


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



-----邮件原件-----
发件人: bind-users-bounces at lists.isc.org
[mailto:bind-users-bounces at lists.isc.org] 代表 Ruben Laban
发送时间: 2009年4月1日 17:21
收件人: bind-users at 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 at lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users




More information about the bind-users mailing list