Unbound not returning MX record from NSD
Anand Buddhdev
anandb at ripe.net
Thu Sep 14 05:58:23 UTC 2017
On 14/09/2017 07:41, Ichigo Kurosaki via Unbound-users wrote:
Hi Ichigo,
The problem is in your example.com zone file. See below:
> # NSD zone file
>
> ;## NSD authoritative only DNS
>
> $ORIGIN example.com.
> $TTL 86400 ; 1 day
> @ IN SOA nsd1.example. postmaster.example.com. (
> 2017081004 ; serial number date plus last
> two digit increment
> 86400 ; refresh (1 day)
> 3600 ; retry (1 hour)
> 604800 ; expire (1 week)
> 3600 ; minimum (1 hour)
> )
> ; Name Servers
> IN NS nsd1.example.com.
> IN NS nsd2.example.com.
>
> ; A Records for Name Servers
> nsd1 IN A 192.168.1.2
> nsd2 IN A 192.168.1.3
>
> ; MX Record
>
> IN MX 10 mail.example.com.
This MX record doesn't have an explicit owner name, so it inherits the
last-declared owner, which is nsd2 just above it. You need to move the
MX record next to the NS records, so that it also applies to the zone's
origin.
Regards,
Anand
More information about the Unbound-users
mailing list