New hostname not resolving after changing domain

RafOX

Cadet
Joined
May 4, 2019
Messages
2
Hi guys,

I just build myself my first FreeNAS and I am really excited about it:D

I'am just having a small issue with it:rolleyes:, I changed the domain on my FreeNAS from "local" to "home" via the GUI. The problem is that the new hostname "freenas.home" can not be resolved by the network, while the old one "freenas.local" still works.

This is how my /etc/hosts file looks like:
Code:
# $FreeBSD: src/etc/hosts,v 1.16.34.1.2.1 2009/10/25 01:10:29 kensmith Exp $
#
# Host Database
#
# This file should contain the addresses and aliases for local hosts that
# share this file.  Replace 'my.domain' below with the domainname of your
# machine.
#
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/nsswitch.conf for the resolution order.
#
#
::1                     localhost localhost.my.domain
127.0.0.1               localhost localhost.my.domain
#
# Imaginary network.
#10.0.0.2               myname.my.domain myname
#10.0.0.3               myfriend.my.domain myfriend
#
# According to RFC 1918, you can use the following IP networks for
# private nets which will never be connected to the Internet:
#
#       10.0.0.0        -   10.255.255.255
#       172.16.0.0      -   172.31.255.255
#       192.168.0.0     -   192.168.255.255
#
# In case you want to be able to connect to the Internet, you need
# real official assigned numbers.  Do not try to invent your own network
# numbers but instead get one from your network provider (if any) or
# from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.)
#

127.0.0.1       freenas.home freenas
::1             freenas.home freenas


this is the output when I ping "freenas.home" from my laptop:

Code:
ping -c 3 freenas.home
ping: freenas.home: Name or service not known


and this when I ping "freenas.local":

Code:
ping -c 3 freenas.local
PING freenas.local (192.168.178.106) 56(84) bytes of data.
64 bytes from unknownd05099d01c3c (192.168.178.106): icmp_seq=1 ttl=64 time=8.36 ms
64 bytes from unknownd05099d01c3c (192.168.178.106): icmp_seq=2 ttl=64 time=6.19 ms
64 bytes from unknownd05099d01c3c (192.168.178.106): icmp_seq=3 ttl=64 time=6.71 ms

--- freenas.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 6.191/7.088/8.363/0.930 ms


And this is what happens when I SSH into the NAS and do the same from within:

Code:
ping -t 3 freenas.home
PING freenas.home (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.015 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.022 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.046 ms

--- freenas.home ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.015/0.028/0.046/0.013 ms


ping -t 3 freenas.local
PING freenas.local. (192.168.178.106): 56 data bytes
64 bytes from 192.168.178.106: icmp_seq=0 ttl=64 time=0.017 ms
64 bytes from 192.168.178.106: icmp_seq=1 ttl=64 time=0.024 ms
64 bytes from 192.168.178.106: icmp_seq=2 ttl=64 time=0.029 ms

--- freenas.local. ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.017/0.023/0.029/0.005 ms


I think the problem is probably my crappy router *poop emoji* but I am not sure, I already restarted my NAS as well as my router several times in the hope of clearing any caches...

I'm not sure what else it could be.

------------------------------
My Hardware

CPU: Intel(R) Core(TM) i3-7100 CPU @ 3.90GHz (4 cores)
Memory: Samsung 16GB DDR4 ECC Speicher RAM UDIMM 2133 MHz PC4-2133P-E M391A2K43BB1-CPB
Motherboard: ASRock C236 WSI
HDD: 4 x WD-Red SATA III 4TB (RAIDZ1/1 spare)
SSD(OS): 1 x Intenso High Performance interne SSD 120GB
 
D

dlavigne

Guest
Were you able to resolve this? If not, which version of FreeNAS?
 

RafOX

Cadet
Joined
May 4, 2019
Messages
2
Unfortunately I'm still trying do resolve the problem, I just updated my NAS to 11.2-U4.1 yesterday.
 
Top