3
I'm currently running a linux based/DIY router that provides a few additional services. I don't currently have a domain set up, and I'd like to set up a srv record for certain services hosted on the router itself. I'm using dnsmasq for internal DHCP and DNS. I do not have the domain option set but I can set an unused domain/subdomain for it
The router's internal ip is 192.168.1.1, and it has a hostname router
that seems to resolve from the other PCs.
This is what the appropriate line in the dnsmasq.conf looks like
# A SRV record sending LDAP for the example.com domain to
# ldapserver.example.com port 389 (using domain=)
#domain=example.com
#srv-host=_ldap._tcp,ldapserver.example.com,389
The example given in the dnsmasq looks like so - can I use any arbitrary valid domain for the domain - and can I use the ip address or a plain hostname like router for the host?
Or do I need to set a domain that I know isn't in use and use that for the hostname?
Which is fine - I can just use a subdomain on a domain I own just for SRV records of this sort, and it's purely for use inside my home lan – Journeyman Geek – 2018-11-16T12:14:50.893