Bike-and-snow
May 10th, 2009, 11:27 AM
Hello
I am trying to setup a "static" DNS server.
What I want to do is to create a server that offers the same functionality as /etc/hosts. For example:
mail.lan 192.168.0.10
files.lan 192.168.0.11
web.lan 192.168.0.12
At the moment we have lot's of servers (above is a simpified example) and they are listed in /etc/hosts on a lot of machines. And it's become unmanagable.
I've installed bind on a Ubuntu server. But I can't get my head around the syntax to add those static entries.
Should I continue with bind? If so does anyone know how to setup something really basic as my example above?
Thanks
I am trying to setup a "static" DNS server.
What I want to do is to create a server that offers the same functionality as /etc/hosts. For example:
mail.lan 192.168.0.10
files.lan 192.168.0.11
web.lan 192.168.0.12
At the moment we have lot's of servers (above is a simpified example) and they are listed in /etc/hosts on a lot of machines. And it's become unmanagable.
I've installed bind on a Ubuntu server. But I can't get my head around the syntax to add those static entries.
Should I continue with bind? If so does anyone know how to setup something really basic as my example above?
Thanks