Bob Jones(r.a.n.d.o.m.d.e.v.4+openbsdm...@gmail.com) on 2016.09.03 19:11:41 
+0100:
> Hi,
> 
> Not sure if its a feature or a bug.  ;-)
> 
> OpenBSD my.example.com 6.0 GENERIC.MP#2319 amd64
> 
> Relevant bit of /var/nsd/etc/nsd.conf:
> ip-address: 10.1.2.3
> 
> 
> $ cat /etc/hostname.vmx1
> rdomain 1
> inet 10.1.2.3 255.255.255.224
> !route -T1 add default 10.1.2.65
> 
> The above yields :
> Sep  3 18:35:40 my nsd[35324]: nsd starting (NSD 4.1.10)
> Sep  3 18:35:40 my nsd[35324]: can't bind udp socket: Can't assign
> requested address
> Sep  3 18:35:40 my nsd[35324]: server initialization failed, nsd could
> not be started
> 
> Commenting out or removing the rdomain and route lines yields:
> Sep  3 18:40:05 my nsd[40514]: nsd starting (NSD 4.1.10)
> Sep  3 18:40:05 my nsd[36692]: nsd started (NSD 4.1.10), pid 17346

Relevant bit of a solution:

set

  nsd_rtable=1

in /etc/rc.conf.local

Reply via email to