Sziasztok,
belső hálózati host név kezelése lenne a problémám, amit szeretnék megoldani, hogy egy router által adot DHCP környezetben a serverem host névvel tudjam használni pl: server.lan; http://server.lan:10000 (webmin)
Host beállításom:
cat /etc/hostname
server
/etc/hosts
127.0.0.1 localhost
127.0.1.1 server.lan server
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
#hostname --fqdn
server.lan
/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth1
iface eth1 inet static
address 192.168.15.5
netmask 255.255.255.0
network 192.168.15.0
broadcast 192.168.15.255
gateway 192.168.15.1
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 127.0.0.1 127.0.1.1 192.168.15.1 8.8.8.8 8.8.4.4
Viszont, ha a "/etc/network/interfaces"-ban meghagyom az eredeti beállítást:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth1
iface eth1 inet dhcp
Akkor működik a "server.lan" hostname a belső hálózaton lévő összes gépen, csak nem a server jelöli ki az IP-t, ami elvileg gondot okozhat...
Kérdésem, hogy ezt hogyan kell jól beállítani, mire nem gondoltam?
Kalmi