Service Record in DNS starts with an underscore _
How do I add a Service Record in DNS when the name of the service record starts with an underscore _ ?
Mac mini, OS X Yosemite (10.10.2)
How do I add a Service Record in DNS when the name of the service record starts with an underscore _ ?
Mac mini, OS X Yosemite (10.10.2)
I believe there are some types of service record pre-defined but otherwise probably you are going to need to hand edit the DNS files.
Look in /private/var/named for the files, the one you are looking for will be something like db.domain.com an example entry would look like -
_autodiscover._tcp.domain.com 10800 IN SRV 0 0 443 mail.domain.com.
Thanks John, Good direction! I will take a look.
Ah, Apple have moved the files with Yosemite/Server 4.x they are now in /Library/Server/named/ it would probably be best to edit the file in Terminal.app.
Found it!. Do you know if it can be edited in text editor? (Way too easy..)
The permissions on this file (and the others) means that even admin level users cannot write to it. You have to use sudo level access in Terminal to be able to modify it.
Service Record in DNS starts with an underscore _