Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
[SOLVED] Sync of /etc/hosts in HA Configuration failure
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Sync of /etc/hosts in HA Configuration failure (Read 6978 times)
ornd
Newbie
Posts: 2
Karma: 0
[SOLVED] Sync of /etc/hosts in HA Configuration failure
«
on:
August 27, 2015, 01:29:12 pm »
Hi,
I have two opnsense instances running in a HA config with xmlrpc sync activated. The config is synced fine but it doesn't seem to be activated on the second system. For example dnsmasq and the entries inside /etc/hosts
When I add a new host in the dns forwarder (for example host01 with the ip 192.168.1.1) then it gets activated on the first gateway and the dns resolutions works fine.
gateway01, $ cat /etc/hosts:
...
192.168.1.1 host01.foo.dom host01
...
on the second gateway(02) in the web gui the host is shown but in the /etc/hosts its missing, resulting in a dns failure.
The workaround is to restart the gateway02 (the whole system, not only the service), then the entries are synced.
In addition, on the second opnsense the /etc/hosts contains duplicate entries from dhcp (pool) leases.
This doesn't look like production ready.
Any hints how to solve it?
Best regards!
«
Last Edit: August 31, 2015, 10:36:48 am by ornd
»
Logged
ornd
Newbie
Posts: 2
Karma: 0
Re: Sync of /etc/hosts in HA Configuration failure
«
Reply #1 on:
August 31, 2015, 10:36:26 am »
Solved the problem. I moved back to pfSense.
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: [SOLVED] Sync of /etc/hosts in HA Configuration failure
«
Reply #2 on:
September 10, 2015, 02:48:16 pm »
Thanks for reporting. 15.7.12 will contain the following fix:
https://github.com/opnsense/core/commit/5b39c0a44d19bf3b57d88c26324603b872e4c3fc
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.7 Legacy Series
»
[SOLVED] Sync of /etc/hosts in HA Configuration failure