Ubuntu 20.04 VM Local IP address DNS Issue


rorton

Recommended Posts

Hi, running an Ubuntu 20.04 VM (its an appliance, provided by LibreNMS) and am struggling to get it to resolve internal IP addresses on my LAN. 

 

I have a PiHole acting as my local DNS Server - all my clients on my network point to the PiHole, and they can all resolve local addresses set-up in there, 

 

EG, if I ping the name UnRaid from a client, it resolves fine to 192.168.10.8

 

Now, on the Ubuntu box, this doesn't work, I can't ping anything local. I can ping stuff on the internet (ping bcc.co.uk for example) and that's perfect, its just the internal hosts. 

 

If I do an NSLOOKUP for 192.168.10.8 (the IP of the unraid box) I do get a response..

 

nslookup 192.168.10.8

8.10.168.192.in-addr.arpa name = UnRaid.

 

But if I PING UnRaid from the Ubuntu box I get 

 

ping: unraid: Temporary failure in name resolution

 

Any ideas? Im using Netplan to setup and my Netplan.yaml file is:

 

network:

  version: 2

  renderer: networkd

  ethernets:

    enp2s0:

      dhcp4: no

      addresses: [192.168.1.13/25]

      gateway4: 192.168.1.1

      nameservers:

        addresses: [192.168.1.14]

 

Link to comment
  • 1 month later...

im having a similar problem. I dont know if its at all the same though. I as of last night added a ubuntu VM. and now I dont have access to the web UI. I tried localhost:23 and that didnt work. Im about to call comcast for my router password. (I should write that down.) I thought I would come here first to see if anyone else had this problem.

 

I have had acess to the web login up until I installed ubuntu. 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.