return ${EXIT_OK}
}
+# This function should be called after any configuration
+# changes have been made to the DNS servers.
+dns_server_update() {
+ # Regenerate /etc/resolv.conf
+ dns_generate_resolvconf
+
+ # Restart radvd which propagates IPv6 DNS servers
+ radvd_update
+}
+
# Update resolv.conf(5) when initializing the network.
init_register dns_generate_resolvconf
done
done
+ # Add our own domain
+ list_append search_domains "$(config_domainname)"
+
# Sort out duplicate entries.
list_unique ${search_domains}
}