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

admin@Jenkins:~$ nslookup Jenkins

** server can't find Jenkins: NXDOMAIN

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

  • because you are looking up an internal host with external dns server?
    – Bilo
    Jul 24, 2015 at 5:34
  • It looks like. I am not even aware of the server. How to resolve my IP to the host name Jenkins?
    – martin
    Jul 24, 2015 at 5:50
  • You should set your Linux PC DNS server point to your router (assume you have one)
    – Bilo
    Jul 24, 2015 at 6:28

2 Answers 2


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 and browse for DNS and add it there.


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)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.