DNS servers changed - how to tell FreeNAS without reboot?

Status
Not open for further replies.

rolandk

Cadet
Joined
Feb 2, 2017
Messages
7
Hello,

we changed our DNS infrastructure and i set new DNS Servers in Freenas Network config.

Apparently, i still see freenas query the old DNS server.

What service do i need to restart that freenas uses the new ones ?

I don`t want to have downtime planned because of this...

regards
Roland

ps:
i found that dns queries apparently only go for "web.ixsystems.com."
Maybe only webservice needs restart!?

Checked how this can be done and i read that one need to restart nginx and django.

But:
[root@freenas] /etc/local/rc.d# /etc/local/rc.d/django status
django is not running.

[root@freenas] /etc/local/rc.d# ps -aux |grep manage.py|grep -v grep
root 18812 0.0 0.2 848420 464892 ?? I 12Aug16 54:46.67 /usr/local/bin/python -R /usr/local/www/freenasUI/manage.py runfcgi method=threaded host=127.0.0.1 port=9042 pidfile=/var/run/django.pid (python2.7)

[root@freenas] /etc/local/rc.d# cat /var/run/django.pid
18813

[root@freenas] /etc/local/rc.d# ps -aux | grep 18813|grep -v grep
[root@freenas] /etc/local/rc.d#


Huh?
No PID with 18813 ?
 
Last edited:

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
I think you just need to restart the resolv service.

service restart resolv
 
Status
Not open for further replies.
Top