2
I want to configure bind as private network DNS on Ubuntu 16.04.
With hostname I got
192.168.0.12 192.168.27.1 192.168.129.1
But
hostname
jholmes-System-Product-jh
My question is why do I have 3 values for IP and only one for domain Name?
1These are all private IP addresses for your local network, and your host is probably part of at least 3 LAN network segments. Try to understand your network setup (which we can't guess unless you tell us something about it). BTW, if these are static addresses, you don't need to run
bind
; entries in/etc/hosts
are enough. – dirkt – 2017-11-28T07:58:56.117What do you mean by "with hostname I got"? – Barmar – 2017-12-02T09:23:55.407
@Barmar I do not understand why one host has three ip addr values. – MikiBelavista – 2017-12-02T14:36:03.443
How many NICs does it have? Each NIC needs an IP. – Barmar – 2017-12-02T18:26:14.520
Please provide the output from
ifconfig
or the equivalent command for you system to display your network interfaces and there settings. – user3788685 – 2017-12-20T23:29:37.483