1

I'm pretty new to setting up DNS and DHCP servers. I've configured an ISC Bind 9 DNS server on Windows 10 on a network to have a local domain with forward and reverse zones and have the router pointing to it for local DNS.

Is the "Connection-specific DNS Suffix" that you see in Windows 10 ipconfig set specifically by the DHCP server, or is that somehow be configured by the DNS server and I missed it?

Luckily I can set a domain name in my router's DHCP configuration and it comes up as the "Connection-specific DNS Suffix" but asking for situations on other networks where I may not have as capable of a router.

1 Answer 1

1

It is provided by the DHCP server as part of the lease, as option 15 "Domain Name".

For example, in ISC DHCP Server (dhcpd) configuration syntax:

option domain-name "lan.example.com";

When making DNS queries, the suffix is appended by the client itself and the resulting queries just have the complete name. The DNS server doesn't actually know whether you relied on the suffix, or whether you typed the full name manually.


There also is a similar option 119, "Domain Search", which allows you to provide multiple suffixes – but Windows did not actually support it until very recently, so stick to option 15 instead.

3
  • Thanks! Is there a binary port of ISC's Dhcpd available on Windows, or would I need to compile in Cygwin? On the website only a tarball version is given, or would I have to use another DHCPd altogether on Windows like the following? dhcpserver.de/cms I'd prefer to keep it all ISC compatible so that I can port configs over to Linux machines more easily as needed. Commented Aug 20, 2020 at 4:20
  • 1
    Couldn't find any (although I did find a port to OS/2 of all things). I'd run the Linux version within actual Linux through Hyper-V, then. Commented Aug 20, 2020 at 5:23
  • Managed to get it all working on the Raspberry Pi 3B+ with ISC DHCP and Bind. raspberrypi.org/forums/… Commented Aug 21, 2020 at 18:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .