0

My Linux host name is Jenkins, but why it can't find it?

admin@Jenkins:~$ nslookup Jenkins
Server:         8.8.8.8
Address:        8.8.8.8#53

** server can't find Jenkins: NXDOMAIN

I googled and found 8.8.8.8. is Google DNS server. How can I configure it to use as my DNS server? I am using Ubuntu.

martin
  • 155

2 Answers2

0

Odds are that your host is in your home.

If is your home network, then your router which is most likely provided by your ISP, you can add your hostname to that router dns server.

Try browsing to 192.168.1.1 and browse for DNS and add it there.

0

You said that you have your own DNS, then go to network settings on Ubuntu and switch interface from DHCP to manual and set IP,mask,gateway and DNS that know about your host (FQDN <-> IP)

Alex
  • 6,375