top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Firewall and DNS caching without NetworkManager

0 votes
548 views

I've just installed Fedora 18 X86-64. I disabled and uninstalled networkmanager and use the standard networking stuff which seems to use dhclient. I'm using a standard ethernet connection.

So I need to do two things. Feel free to tell me to RTFM if you can provide a link!

1.How do I enable pre-pending of nameservers? I want to use dnsmasq to cache DNS requests so I need to add 127.0.0.1 to the top of resolv.conf. Google searchs take me to the Arch Wiki. I can't seem to
find a dhclient.conf file anywhere in /etc.

2.How do I assign a zone in firewalld to my connection? I want to be able to open ports for bittorrent and XMPP jingle voice/video. The firewalld wiki on the Fedora site doesn't seem to be able to answer my
question.

posted May 18, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
You may want to read /usr/share/doc/initscripts-9.42.2/sysconfig.txt
- search for PEERDNS.
I don't think this works. In the ifcfg settings if you specify a DNS server then the network is assumed to have static DNS. So if I put DNS1=127.0.0.1 in the the ifcfg-em1 file all I get in resolv.conf is that nameserver and not the one supplied by my router underneath.

1 Answer

0 votes

Apologies for replying to myself. Issue one has been fixed by creating the file /etc/dhcp/dhclient-em1.conf and adding the line "prepend domain-name-servers 127.0.0.1;" to the file. I still need some info on
firewalld zones though.

answer May 18, 2013 by anonymous
Similar Questions
+3 votes

I have a complex firewall setup running on an older version of Fedora, and I'd like to upgrade to RHEL7 or recent Fedora. Unfortunately, I can't really do what I need using firewalld, so two questions:

1: Has anyone done this and were there any serious gotcha's?

2: Is it as easy as removing firewalld and installing networkmanager with yum?

This setup uses two (soon three) ISP connections, any of which can be used as default, two secure internal networks, and one DMZ for servers. Some connections must be forced out via a defined ISP, and since Linux doesn't source route like BSD, I can't just set the source IP and have the packet go out the right
interface, hoops must be jumped.

Any experience to share?

+4 votes

How wireless signal strength (as displayed by the network-manager applet) is calculated. There is a percentage reported: what does this percent mean and where does NetworkManager get its values from?

0 votes

WTF is this nonsense? I have NetworkManager disabled, but I just rebooted after installing the new 3.9 kernel and I get several pauses during boot that say "A start job is running for NetworkManager wait online" and animate a cute little cylon eyeball in the [] at the beginning of the message.

Why is NetworkManager screwing up my boot even though it is disabled? How do I really and truly make it STOP?

+2 votes

I'm investigating how to setup KVM so I can run VMs without having to use VirtualBox or VMware, or etc.

All the HOWTOs I see tell you to disable NM.

I use NM to manage VPN clients that I use for remote access to my office, among other places.

How would I manage those VPN clients if I didn't use NM? I haven't found any commands that appear to be suited to that purpose.

...