When running vmd with a local interface it sends the nameservers twice, which seems a bit redundant to me and always annoys me when editing resolv.conf manually inside the vm. Diff below removes one of the two instances.
OK? martijn@ Index: dhcp.c =================================================================== RCS file: /cvs/src/usr.sbin/vmd/dhcp.c,v retrieving revision 1.4 diff -u -p -r1.4 dhcp.c --- dhcp.c 5 Nov 2017 20:01:09 -0000 1.4 +++ dhcp.c 15 Aug 2018 13:41:24 -0000 @@ -189,11 +189,6 @@ dhcp_request(struct vionet_dev *dev, cha o += sizeof(server_addr); } - resp.options[o++] = DHO_DOMAIN_NAME_SERVERS; - resp.options[o++] = sizeof(server_addr); - memcpy(&resp.options[o], &server_addr, sizeof(server_addr)); - o += sizeof(server_addr); - resp.options[o++] = DHO_SUBNET_MASK; resp.options[o++] = sizeof(mask); mask.s_addr = htonl(0xfffffffe);