LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 03-17-2024, 10:30 PM   #1
mw.decavia
Member
 
Registered: Feb 2024
Distribution: Slackware64-15 & Afterstep , oh my
Posts: 78

Rep: Reputation: 8
need a minimal config for virtual dns server


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.
 
Old 04-19-2024, 10:01 PM   #2
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421

Rep: Reputation: 74
I think the issue you are seeing has nothing to do with NetworkManager itself, but rather with other service that is occupying udp (or even tcp) port 53. If you are using systemd then its own resolver systemd-resolvd must be the reason for it. If you want to confirm, issue something like the below:

Code:
ss -4plan -o state listening '( sport = :53 )'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Which config: config.amd64-none_amd64 OR config.amd64_rt_amd64 mzsade Debian 2 11-27-2016 09:19 PM
How do I upgrade Minimal Desktop for Ubuntu (formerly Ubuntu Minimal)? LAPIII Linux - Software 1 01-20-2012 07:52 PM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM
Problem with the DNS in a minimal FC3 server install. gregf50 Linux - Newbie 1 03-17-2005 03:36 PM
Minimal samba config suggestion please. carboncopy Slackware 2 08-03-2004 09:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration