Link to home
Start Free TrialLog in
Avatar of Francois Koutchouk
Francois KoutchoukFlag for United States of America

asked on

How do I register a Ubuntu workstation DHCP address in the DNS?

In Windows there is a checkbox "Register this connection's addresses in DNS".  See attached screenshot.
What is the equivalent in
- Ubuntu Workstation
- Raspian (Raspberry Pi Debian variant)

Thank you
SOLUTION
Avatar of arnold
arnold
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Francois Koutchouk

ASKER

The DHCP is the Netgear Router.  Attached is a screenshot of the only configuration settings.  The 192.168.10.75 is the static IP of the DNS Server (internal).
The DNS Server is a Synology NAS Package.  The screenshot attached shows the Master Zone configuration.  

Once I added the setting show in the screenshot of my original question in Windows, automatically those machines were added as A records in the DNS Server.

DNS lookup to internet addresses work fine for both Ubuntu and Windows machines.  However DNS lookup to internal addresses does not work to Ubuntu workstation -- logical since they didn't register an A record in the DNS Server as the Windows machines did.

It seems to me that the issue resides on the Ubuntu workstations rather than the DNS Server or DHCP Server, so I am a bit confused on your comment.

Thank you!
DNSserver.png
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Alan:

Yes Ubuntu 16.04 LTS
hostname returns ubuntu-[mycompany]-.stx and dhclient.conf contains send host-name gethostname();

Arnold:

Yes, if I add a Windows system in the environment, an A record shows up in the Synology DNS record
I do not know how to do "testing register the reverse"

Synology DHCP Server package is not installed.  I am using the Netgear DHCP, rock solid for many years (and various upgrades of the Netgear hardware).

Both:
Something deeper in the guts of Ubuntu network perhaps? Ah, if it could only be as simple as the checkbox in Windows...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Alan:

Synology DNS Server does seem to have any setting specifying secure/non-secure updates.
Netgear DHCP server is very basic, just the screenshot I attached in my prior response.
Yes, the idea of a static IP (MAC-based in the router) and manual A record in the DNS Server would work.  But I am trying to avoid static addresses as we have lots of Linux devices that come and go on our network.

Hi Arnold:
When I cat the resolv.conf I get:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.10.201
nameserver 127.0.1.1

Interestingly enough, the 192.168.10.201 is incorrect, it is the IP of the DHCP server.  The resolvconf command I don't understand (even after readign the man page).  Could you please tell me how to force
nameserver 192.168.10.75
nameserver 8.8.8.8
with either that command or another method?
After all, if the Ubuntu machine doesn't know about .75 (the DNS Server) it might be all that's missing for the A record to appear in it!

Thank you!
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
EE requested assistance with closing this question.