Add SRV kms record

Hi,

Does anyone know how or where to add the config for an SVR record, I want to register my kms server within DNS,

So when i run the below command i can actually see my kms server;

nslookup -type=srv _vlmcs._tcp

Right, here hows to do it:

  1. SSH to the pi-hole server
  2. cd to /etc/dnsmasq.d/
  3. #create a new file for your custo config; vi 99-my-settings.conf
  4. #add the record info; srv-host=_vlmcs._tcp,kms.home-network.com,1688

IP or hostname of the kms server goes between [srv-host=_vlmcs._tcp,] & [,1688]

now reload the service; sudo service pihole-FTL restart

and from a Windows machine open CMD and type: nslookup -type=srv _vlmcs._tcp
you should see something like the below;

C:\Users\me>nslookup -type=srv _vlmcs._tcp
Server: UnKnown
Address: 10.14.2.160

_vlmcs._tcp SRV service location:
priority = 0
weight = 0
port = 1688
svr hostname = kms.myhomedomain.com
kms.myhomedomain.com internet address = 10.14.2.188

Note that you should not reload but rather restart the pihole-FTL service to have it read new config files.

1 Like

Updated: thank you

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.