Article 6KDYC need a minimal config for virtual dns server

need a minimal config for virtual dns server

by
mw.decavia
from LinuxQuestions.org on (#6KDYC)
My router is (as of this weekend) a Diy, sff pc with slackware 15.
Mini-display, (small) wireless kb and mouse.
Wifi for wan, controlled by networkmanager for ease of management.
Ethernet for lan.
Custom iptables firewall.

It works for connecting to hotspots, and as a nat firewall/router.

But I want to run my (local caching) dns server on the router, instead of as separate hardware.

I installed Unbound 1.19.2 from slackbuild. Only to find out that trying to specify the ethernet port Unbound should listen on, or the wifi connection Unbound should use to send queries upstream - does not work if NetworkManager is managing those connections. Unbound reports a fatal socket error at load time.

I am thinking that having Unbound listen/forward on a virtual interface with a different ip address from the router's lan-side ethernet , should work? And maybe have Unbound running in a lightweight VM, if needed?

But I know almost nothing about virtualization or virtual network interfaces. Could anyone point me to some howto for doing this task in a basic/minimal fashion? It would be better if it only depended on what is freely available with slackware.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments