fix bug with not setting named_ip_addr for external dns