Amahi Bug? Custom DNS Settings
Posted: Mon Jan 29, 2018 8:37 am
I don't use Amahi as my DHCP server nor my DNS server.
However, lately I have noticed that Amahi appears to have a bug.
Disabling the DHCP server is no problem, and the network functions as expected.
However, disabling the DNS server and then setting the DNS settings to "Custom" always results in the IP address of my HDA being inserted as the IP for the DNS server. This happens via both the admin web site, as well as the older hda-ctl command.
Here's an example:
[user@localhost ~]$ hda-change-dns 192.168.0.1 8.8.8.8
Network settings were successfully applied.
Your HDA services have been restarted.
[user@localhost ~]$ more /etc/resolv.conf
# Automatically generated by hda-ctl on 2018-01-29 10:25:48
search network.local
nameserver 192.168.0.10
nameserver 192.168.0.10
note: 192.168.0.10 is the IP address of my HDA.
So as it stands, I need to manually go in an edit the /etc/resolv.conf after every reboot.
However, lately I have noticed that Amahi appears to have a bug.
Disabling the DHCP server is no problem, and the network functions as expected.
However, disabling the DNS server and then setting the DNS settings to "Custom" always results in the IP address of my HDA being inserted as the IP for the DNS server. This happens via both the admin web site, as well as the older hda-ctl command.
Here's an example:
[user@localhost ~]$ hda-change-dns 192.168.0.1 8.8.8.8
Network settings were successfully applied.
Your HDA services have been restarted.
[user@localhost ~]$ more /etc/resolv.conf
# Automatically generated by hda-ctl on 2018-01-29 10:25:48
search network.local
nameserver 192.168.0.10
nameserver 192.168.0.10
note: 192.168.0.10 is the IP address of my HDA.
So as it stands, I need to manually go in an edit the /etc/resolv.conf after every reboot.