[nsd-users] How to delegate subdomain? NS record ignored?

Alexander Skwar alexanders.mailinglists+nospam at gmail.com
Mon Aug 12 13:54:16 UTC 2019


I'm using nsd 4.1.20 on OpenBSD 6.3. I'd like to delegate a subdomain,
but it just doesn't work… Below, I'll paste the configuration for the
domain "sheek.ch", where I'd like to delegate the subdomain "ghi"
(ie. ghi.sheek.ch) to ns1.exacttarget.com..

As you can see, I just added this line to the zone file:

ghi NS ns1.exacttarget.com.

But a "dig @ -t ns ghi.sheek.ch" doesn't return anything; a
"dig @ -t a abc.sheek.ch" (abc being defined in the same zone
file) returns what's defined there.

The zone is "live", ie. you can run the queries yourself.

It seems, as if nsd just doesn't send the NS record.

Would be great, if anyone could help.

Thanks a lot,

fw2# cat /var/nsd/etc/nsd.conf
        tcp-count: 100
        statistics: 3600
        verbosity: 2
        hide-version: yes
        identity: ns2.…
        interface: 185.…

        control-enable: yes

include: /var/nsd/etc/nsd-master.conf

fw2# cat /var/nsd/etc/nsd-master.conf
# …
# other zones before

        name: "sheek.ch"
        zonefile: "/var/nsd/zones/master/sheek.ch"
        outgoing-interface: 185.…
        provide-xfr: NOKEY
        provide-xfr: NOKEY
        notify: 46.… NOKEY
        provide-xfr: 46.… NOKEY

# other zones below
# …

fw2# cat /var/nsd/zones/master/sheek.ch
$ORIGIN sheek.ch.
$TTL 1d
@       IN SOA ns.…. sysadmin.…. (
        1565616181      ; serial
        1h              ; refresh
        15m             ; retry
        14d             ; expire
        15m )           ; minimum

@               IN NS   ns.zrh.…
@               IN NS   ns.gva.…

@               300     IN      MX      1   aspmx.l.google.com.

www                             A       34.245.…
@                               A       34.245.…

abc A

ghi NS ns1.exacttarget.com.

More information about the nsd-users mailing list