DNS IP changing automatically

Status
Not open for further replies.

venkata

Dabbler
Joined
Sep 12, 2014
Messages
29
Dear All,

I am running FreeNAS-9.10.2 (a476f16) version.
We are facing below 2 problems in FreeNAS server.

1. If we assign proper DNS IP in Network-> Global configuration->Nameserver1, in Network->network summary its showing DNS IP which we assigned.

But after restart, Nameserver1 showing proper IP address but in network summary its showing DNS IP as 127.0.0.1.
So that It is not importing AD users.

Alternative way: we enabled SSH, login into FreeNAS via WinSCP, in /etc/resolv.config manually we are assigning IP instead 127.0.0.1. we are doing each and every boot like this.

2. We assigned DNS name for FreeNAS server. But when we ping DNS NAME from FreeNAS shell its reflecting IP as 127.0.0.1
Ex: Name: freenas.test.com IP: 10.0.0.135
When we ping freenas.test.com, its pinging with 127.0.0.1

We login in to FreeNAS via WinSCP, we checked /etc/hosts file, there is entry like 127.0.0.1 freenas.test.com freenas
If we change IP manually 10.0.0.135 instead of 127.0.0.1. Name resolution working properly. But we have to do like this every reboot.

We are unable understand why its happening like? are we missed any configuration? [AD integration working fine when we assign DNS IP properly]

Kindly help regarding this.
 
Last edited by a moderator:

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
Dear All,

I am running FreeNAS-9.10.2 (a476f16) version.
We are facing below 2 problems in FreeNAS server.

1. If we assign proper DNS IP in Netwrok-> Global configuration->Nameserver1, in Netwrok->network summery its showing DNS IP which we assigned.

But after restart, Nameserver1 showing proper IP address but in network summery its showing DNS IP as 127.0.0.1.
So that It is not importing AD users.

Alternative way: we enabled SSH, login into freenas via WinSCP, in /etc/resolv.config manually we are assigning IP instead 127.0.0.1. we are doing each and every boot like this.

2. We assigned DNS name for FreeNAS server. But when we ping DNS NAME from freeNAS shell its reflecting IP as 127.0.0.1
Ex: Name: freenas.test.com IP: 10.0.0.135
When we ping freenas.test.com, its pinging with 127.0.0.1

We login into freenas via WinSCP, we cheacked /etc/hosts file, there is entry like "127.0.0.1 freenas.test.com freenas"
If we change IP manually 10.0.0.135 instead of 127.0.0.1. Name resolution working properly. But we have to do like this every reboot.

We are unable understand why its happening like? are we missed any configuration? [AD integration working fine when we assign DNS IP properly]

Kindly help regarding this.
Please give us more details about your system, including screen shots of your Network->Global Configuration and Network->Interfaces pages from the GUI, if possible.

How did you assign a DNS name for the FreeNAS server? On a local DNS server?

It's normal behavior for FreeNAS to use the loopback IP (127.0.0.1) when you ping it from local shell sessions; both of my FreeNAS servers work this way. Try using dig to see if your DNS stack is resolving your host's name correctly: running dig freenas.test.com should show you the IP address you've assigned to the host in DNS, not the loopback IP.

Good luck!
 

venkata

Dabbler
Joined
Sep 12, 2014
Messages
29
Hi,

Thank you so much for your replay.

Here i am sharing interface screenshot and interface edit screenshots.
 

Attachments

  • Interface.PNG
    Interface.PNG
    16 KB · Views: 346
  • interface-Edit1.PNG
    interface-Edit1.PNG
    19.2 KB · Views: 350
  • interface-Edit2.PNG
    interface-Edit2.PNG
    9.7 KB · Views: 341
Status
Not open for further replies.
Top