changes to dns.c