0

I am running CentoS 7.6 which has been configured as DNS server (via named) and a DHCP server.

In DHCP I have configured dynamic updates to my DNS zone such that new client leases will result in automatic updates in named.

The problem is that certain clients (particularily Android phones) identify themselves (via their client identifier) as androidxxx (some long string) which isn't a particularily helpful DNS entry. It makes it difficult to distinguish whose phone is connecting.

This is only a small network (approx 50 devices) and I want to know if I can make a server side change to better identify who has connected.

2

If your DHCP server is the one performing the dynamic DNS updates, simply tell it the name you wish the phone to be registered as:

host androidphone {
    hardware ethernet 11:22:33:44:55:66;
    ddns-hostname "android";
    option host-name "android";
}

The ddns-hostname option tells the DHCP server the name to register into DNS, while the option host-name makes the DHCP server tell the Android phone the name it's supposed to identify itself as. Ideally these two should be the same.

1
  • Worked perfectly, thank you! – Aditya K Jun 27 '19 at 16:39

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.