Upload and install
[SOLVED] dnsmasq Plugin
-
- OMV 1.0
- gelöst
- Athor
-
-
Upload and install. The version number doesn't mean much other than it won't work on omv 0.5 anymore.
-
Thanks.
-
Resolved.
-
Hi,
Updated package that hopefully fixes logging here.
Package is not available any more at the specified link, nor in the testing directory... any news about the development of this plugin ?
Bests
-
-
Thank you for the link, currently I have this installed on a 32bit VM (production DHCP and DNS) and on a ARMv5 pogoplug (testing) environment.
Is there anything specific that you would like tested, or just time used and experiences with feedback?
-
The thing thats still not working right is the dns servers are not set properly on the machine you install dnsmasq too, but aaron and I were unable to find a proper solution for that problem.
Greetings
David -
Hi David, could you clarify that a little more? I currently don't use any "internet" based services on the two OMV systems with the dnsmasq plugin, but so far the OMV systems seem to resolve both local and public DNS lookups correctly.
Is there any specific example or test that would show this last issue to be solved before considering this plugin for the masses?
Thank you all for your hard work and efforts.
-
Install it. Set it up. Enable it. -> At that point your system becomes unable to resolve any DNS requests that are outside your local network. I.e. updating won't work.
Greetings
David -
Thanks for the prompt reply, but I don't seem to have that problem. My current OMV system can resolve both local and public DNS names just fine from what I can tell; both from a terminal and via OMV web-interface.
I just enabled and installed the OpenVPN plugin and downloaded a deb file from the webmin website (as a test).
I send in a system report if you like, login ID is ibclhhTt
Thanks,
-
Seems to work nicely here too !
At least for the resolution part... still have to switch DHCP from my ISP router to OMV. -
I've got the same problem...the settings seem ok, see screenshot
----error message----
Failed
to execute command 'export LANG=C; invoke-rc.d 'dnsmasq' restart
2>&1': Restarting DNS forwarder and DHCP server: configuration
syntax check failed!
invoke-rc.d: initscript dnsmasq, action "restart" failed.Error
#4000:
exception 'OMVException' with message 'Failed to execute command 'export
LANG=C; invoke-rc.d 'dnsmasq' restart 2>&1': Restarting DNS
forwarder and DHCP server: configuration syntax check failed!
invoke-rc.d: initscript dnsmasq, action "restart" failed.' in
/usr/share/php/openmediavault/initscript.inc:176
Stack trace:
#0 /usr/share/php/openmediavault/initscript.inc(155):
OMVSysVInitScript->invoke('restart')
#1 /usr/share/openmediavault/engined/module/dnsmasq.inc(60):
OMVSysVInitScript->restart()
#2 /usr/share/openmediavault/engined/rpc/config.inc(180):
OMVModuleDnsmasq->applyConfig()
#3 [internal function]: OMVRpcServiceConfig->applyChanges(Array,
Array)
#4 /usr/share/php/openmediavault/rpcservice.inc(125):
call_user_func_array(Array, Array)
#5 /usr/share/php/openmediavault/rpcservice.inc(158):
OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
#6 /usr/share/openmediavault/engined/rpc/config.inc(224):
OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
#7 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array,
Array)
#8 /usr/share/php/openmediavault/rpcservice.inc(125):
call_user_func_array(Array, Array)
#9 /usr/share/php/openmediavault/rpc.inc(79):
OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
#10 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg',
Array, Array, 1)
#11 {main}-----screenshots----
-
Ok, resolved for now. My mistake was the ntp addresses need to be ww.xx.yy.zz not human readable (ie ntp.org)
-
Is there any update on the resolving of DNS? I've installed to plugin to setup PXE booting but after a reboot my resolv.conf is overwritten and I cannot resolve any address on the internet.
-
I had some problems with my bonded ethernet inteface which I resolved here but an alternative might also be found if you add
### code
nameserver 127.0.0.1
nameserver 8.8.8.8 (for example)
nameserver x.x.x.x.
end code ####to
/etc/dnsmasq.conf
OR you can add the local interface 127.0.0.1 to the Extra Options in the OMV LocalDNS/DHCP setup like this
server=127.0.0.1 8.8.8.8 x,x,x,x <-----note spaces between entries>
which will get written into /etc/dnsmasq.d/ and should also work
maybe see this as well
-
Is there any update on the resolving of DNS? I've installed to plugin to setup PXE booting but after a reboot my resolv.conf is overwritten and I cannot resolve any address on the internet.
Dirty fix is to add the nameservers again to the resolv.conf.
I think you can also add it to /etc/revolv.conf.d/footerGreetings
David -
Hey guys thanks for your suggestions. I found out that my Asus router was running Dnsmasq and I could edit the config file to include the dhcp-boot parameter. This means that I am no longer using dnsmasq on my NAS.
-
I know some people will hate me because I reopen a [SOLVED] case but
I had the same issue with the stable version and I resolve it that wayI went into command line and try to start the dnsmasq service
/etc/init.d/dnsmasq start
Starting DNS forwarder and DHCP server: dnsmasq
dnsmasq: bad IP address at line 36 of /etc/dnsmasq.d/omv.confafter looking at the line 36 nano -c /etc/dnsmasq.d/omv.conf
I figure the error was generate by the NTP optionSo I replace the default one suggest by OMV with the IP of my OMV
and everything works fine now -
Hello , what files I need to save to restore on a new OMV install to avoid write leases by hand for second time?.
PD: I have 45 leases that I can write on new install, but better if is posible to save config files on a safe place and then restore it.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!