madtulip
Explorer
- Joined
- Mar 28, 2015
- Messages
- 64
noobs configuring electronics part 13.:
On my local network i have a fritzbox router (192.168.0.101) acting as gateway , dhcp and dns server. my FreeNas and a jail on it got fixed IP adresses.:
nas 192.168.0.10
jail 192.168.0.11
from a third machine i can ping "nas" but i cant ping "jail". i can ping both 192.168.0.10 as well as 192.168.0.11 though.
so i guess the fritzbox somehow doesnt get the entry "jail 192.168.0.11" in its table. i dont understand why though.
sshing into the jail and checking.:
i triied to change
but that wouldnt help eigther. i didnt realy exspect that to work as the /etc/resolv.conf on nas looks like this
and nas resolves to 192.168.0.10 without problems. Im curious why it resolves in the first place though as "local" isnt a system on my subnet. Is "local" defined like "localhost" as loopback or what is "local" doing there?
what am i missing? Is it maybe related to the jail being a VM and the physical NIC having multiple IPs for the nas and its jails ?
i dont realy understand the dns server running on the fritz box. Its not configureable and it seams there is an automatic none changeable domain created by it called "fritz.box". I i.e. can ping nas.fritz.box but not jail.fritz.box. im not very satisfied with that and rather have that configurabe and named differently so im currently thinking about setting up a DNS in one of the jails of the nas.
On my local network i have a fritzbox router (192.168.0.101) acting as gateway , dhcp and dns server. my FreeNas and a jail on it got fixed IP adresses.:
nas 192.168.0.10
jail 192.168.0.11
from a third machine i can ping "nas" but i cant ping "jail". i can ping both 192.168.0.10 as well as 192.168.0.11 though.
so i guess the fritzbox somehow doesnt get the entry "jail 192.168.0.11" in its table. i dont understand why though.
sshing into the jail and checking.:
Code:
root@jail:/ # hostname jail
Code:
root@jail:/ # cat /etc/resolv.conf search local nameserver 192.168.0.101
i triied to change
Code:
root@jail:/ # cat /etc/resolv.conf search fritz.box nameserver 192.168.0.101
but that wouldnt help eigther. i didnt realy exspect that to work as the /etc/resolv.conf on nas looks like this
Code:
root@nas:/ # cat /etc/resolv.conf search local nameserver 192.168.0.101
and nas resolves to 192.168.0.10 without problems. Im curious why it resolves in the first place though as "local" isnt a system on my subnet. Is "local" defined like "localhost" as loopback or what is "local" doing there?
what am i missing? Is it maybe related to the jail being a VM and the physical NIC having multiple IPs for the nas and its jails ?
i dont realy understand the dns server running on the fritz box. Its not configureable and it seams there is an automatic none changeable domain created by it called "fritz.box". I i.e. can ping nas.fritz.box but not jail.fritz.box. im not very satisfied with that and rather have that configurabe and named differently so im currently thinking about setting up a DNS in one of the jails of the nas.
Last edited: