2

I want to configure bind9 using the Ubuntu terminal to have the DNS resolve a local name, not a domain name.

For example, if I type in Nicole it will resolve my IP address in a local network fashion.

How can I do this, step-by-step please?

I've already installed bind9 using:

sudo apt-get install bind9

It's fully installed now, I just need some help configuring.

Should I be using local views?

I am going to do the connection with two laptops probably connected to each other by Ethernet cable or WIFI. One of them is running Ubuntu and the other is running Windows. I not sure if that's part of the problem.

Jorge Castro
  • 73,717

2 Answers2

3

If you want to connect only 2 machines, I think easier and better using local hosts files instead of DNS.

Make the router DHCP give always the same IP to the machines (or use fixed IP instead of DHCP). On the ubuntu machine, you can edit the file with sudo nano /etc/hosts and add a line like 192.168.xxx.xxx <the_other_computer_name> where the IP is the local IP of the other computer and another line similar with the local machine name and IP.

Do the same on the windows machine (the host file is \windows\system32\drivers\etc\hosts)

laurent
  • 6,899
0

If you are trying to learn about using Bind9 and would like to still set it up I would recommend that you follow this post in the Ubuntu Forums.

itnet7
  • 3,509