Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jon.snow

Pages: [1]
1
Other modules / Re: Setting persistent nameserver in /etc/resolv.conf
« on: August 31, 2017, 08:48:35 pm »
I ended up having to replace it with a static file as you suggested, thanks.

2
Other modules / Setting persistent nameserver in /etc/resolv.conf
« on: June 23, 2017, 09:12:32 pm »
I have stood up a DC and BDC using Zentyal 5.0.8. each with the following modules installed: Network, Firewall, DNS, Logs, NTP, Domain Controller and File Sharing

I had to manual change /etc/resolv.conf in order to get my BDC joined to the primary.  This is also what I would like to have on each DC after a reboot:
Code: [Select]
nameserver 192.168.1.191
nameserver 192.168.1.192
search mydomain.local

Currently, after a reboot of each server my DC /etc/resolv.conf looks like this:
Code: [Select]
nameserver 127.0.01
nameserver 192.168.1.1
search mydomain.local
and my BDC /etc/resolv.conf looks like this:
Code: [Select]
nameserver 192.168.1.1
search mydomain.local

I found in Network > DNS, setting the Search Domain allows the configured domain to get set as search in /etc/resolv.conf after a reboot.

I am unable to find where to set the nameserver values so that they are loaded as well after a reboot.  The documentation suggests that it should be configurable in Network > DNS but I seem to be missing this configuration option.
https://wiki.zentyal.org/wiki/File:En-5.0-images-firststeps-dns.png

I tried to configure a Forwarder on each DC in DNS > Forwarders pointing to the other DC but this does not seem to change anything in /etc/resolv.conf after a reboot.

I also made sure both name servers were configured in DNS > mydomain.local > Name servers.  This also does not seem to change anything in /etc/resolv.conf after a reboot.

Any suggestions or help on how to ensure resolv.conf gets sets properly following a reboot is appreciated.

Pages: [1]