Results 1 to 2 of 2
Hello, I am working to create an internal DNS server to help manage hostnames etc for the servers on my internal network. I have named all set up and it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-07-2013 #1
- Join Date
- Nov 2012
DNS Zone File Question
I am working to create an internal DNS server to help manage hostnames etc for the servers on my internal network.
I have named all set up and it runs great.
However the question I have regards creating a zone file so that the DNS server redirects computer hostnames to their respective IP's without having to tag on a domain.
so currently if you want to ssh to a machine named "Kiska" using a hostname you have to use:
# ssh kiska.example.lan:
# ssh kiska:
Thanks for the help.
- 02-07-2013 #2
In case you are using bind, afaik you cannot create a "catch-all" zone.
But this is not necessary anyway.
On each client in /etc/resolv.con, define
search example.lan example2.lan
dhcp-options(5) - Linux man page
option domain-name text; option domain-search domain-list;You must always face the curtain with a bow.