[nsd-users] Question about response source address and dynamic interfaces

Gavin Brown gavin.brown at centralnic.com
Fri Oct 12 18:32:52 CEST 2012


Hi Marco,

> You can put the service IP on a loopback interface, so even if the
> host is "sleeping", nsd can bind that IP trough the loopback in a
> local scope.

That works! I tweaked the rc.d script to set up the service address on 
the loopback interface immediately before NSD starts (in the 
start_precmd routine), and then remove it as soon as it has started (by 
adding a start_postcmd) routine. Now the service address can flip-flop 
between the two hosts without disrupting the service.

Thanks for the tip!

G.

-- 
Gavin Brown
Chief Technology Officer
CentralNic Ltd
Innovative, Reliable and Flexible Registry Services
for ccTLD, gTLD and private domain name registries
https://www.centralnic.com/

CentralNic Ltd is a company registered in England and Wales with company
number 4985780. Registered Offices: 35-39 Moorgate, London, EC2R 6AR.


More information about the nsd-users mailing list