Hi,
I'm having difficulties getting subdomains to work in NSD and would be
eternally greatful if someone could tell me where I'm going wrong !
I have obfuscated the details below, but I am trying to extend
example.org with auto.example.org
The problem I'm finding is NSD reloads fine, but the slaves never
download a fresh copy of the zone (despite the master logs suggesting
so), and querying slaves or master doesn't give the desired results
(it responds with an empty reply)
I have tried :
(1) This....
$ORIGIN .
$TTL 3600 ; 1 hour
example.org IN SOA devnull.example.com. support.example.com. (
531790048 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
1209600 ; expire (2 weeks)
3600 ; minimum (1 hour)
)
NS bob.example.com.
NS jane.example.com.
MX 10 rx4.example.com.
MX 5 rx3.example.com.
TXT "v=spf1 mx ip4:172.16.177.0/24
ip4:172.16.178.0/24 -all"
$ORIGIN example.org.
auto MX 10 rx4.example.com.
auto MX 5 rx3.example.com.
auto TXT "v=spf1 mx ip4:172.16.177.0/24
ip4:172.16.178.0/24 -all"
(2) That....
$ORIGIN .
$TTL 3600 ; 1 hour
example.org IN SOA devnull.example.com. support.example.com. (
531790048 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
1209600 ; expire (2 weeks)
3600 ; minimum (1 hour)
)
NS bob.example.com.
NS jane.example.com.
MX 10 rx4.example.com.
MX 5 rx3.example.com.
TXT "v=spf1 mx ip4:172.16.177.0/24
ip4:172.16.178.0/24 -all"
$ORIGIN auto.example.org.
MX 10 rx4.example.com.
MX 5 rx3.example.com.
TXT "v=spf1 mx ip4:172.16.177.0/24
ip4:172.16.178.0/24 -all"
(3) Something else.....
$ORIGIN .
$TTL 3600 ; 1 hour
example.org IN SOA devnull.example.com. support.example.com. (
531790048 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
1209600 ; expire (2 weeks)
3600 ; minimum (1 hour)
)
NS bob.example.com.
NS jane.example.com.
MX 10 rx4.example.com.
MX 5 rx3.example.com.
TXT "v=spf1 mx ip4:172.16.177.0/24
ip4:172.16.178.0/24 -all"
$ORIGIN auto.example.org.
IN MX 10 rx4.example.com.
IN MX 5 rx3.example.com.
IN TXT "v=spf1 mx ip4:172.16.177.0/24
ip4:172.16.178.0/24 -all"
(4) And even....
$ORIGIN .
$TTL 3600 ; 1 hour
example.org IN SOA devnull.example.com. support.example.com. (
531790048 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
1209600 ; expire (2 weeks)
3600 ; minimum (1 hour)
)
NS bob.example.com.
NS jane.example.com.
MX 10 rx4.example.com.
MX 5 rx3.example.com.
TXT "v=spf1 mx ip4:172.16.177.0/24
ip4:172.16.178.0/24 -all"
$ORIGIN auto.example.org.
@ IN MX 10 rx4.example.com.
@ IN MX 5 rx3.example.com.
@ IN TXT "v=spf1 mx ip4:172.16.177.0/24
ip4:172.16.178.0/24 -all"
On 26/10/16 11:38, Tim Smith wrote: Hi Tim,> I'm having difficulties getting subdomains to work in NSD and would be > eternally greatful if someone could tell me where I'm going wrong ! > > I have obfuscated the details below, but I am trying to extend > example.org with auto.example.org > > The problem I'm finding is NSD reloads fine, but the slaves never > download a fresh copy of the zone (despite the master logs suggesting > so), and querying slaves or master doesn't give the desired results > (it responds with an empty reply)You haven't shown us a copy of your nsd.conf file, so it's hard to guess what the issue is. The most likely problem is that you don't have "notify:" statements in your zone configuration. The example zones you showed in your email don't help at all, because they have nothing to do with NSD's configuration. Regards, Anand