Help with DNS hell

Mike Chambers mike at miketc.net
Thu Dec 4 18:26:43 UTC 2008


On Thu, 2008-12-04 at 12:32 -0200, Andre Costa wrote:
> Hi,
> 
> I'm having a *real* hard time trying to use F10 due to DNS problems
> [https://bugzilla.redhat.com/show_bug.cgi?id=459756] (not to mention
> NetworkManager being unable to manage static IPs and s-c-n screwing
> network mask configuration[*]). As if that was enough, I can't seem to
> be able to configure a local DNS cache using dnsmasq, for some unknown
> reason (I've tried lots of workarounds trying to get me out of this
> DNS hell, so it's probably partially -- or totally -- my fault).

I have NM with static IP working just fine.  Using the GUI may or may
not be causing the problems (as in, not writting to correct files or not
getting it correct or whatever), but you can try to get around it or
using a little simpler way to help?  Try running
"system-config-network-tui" and that should write the correct info. Then
edit /etc/sysconfig/network-scripts/ifcfg-eth0 (or whatever your using)
and make sure your IP, netmask, gateway, etc stuff is correct.  You also
need your DNS info in there as well so NM can pick it up.  If using NM,
it overwrites resolv.conf when it starts/stops, so no use editing
resolv.conf manually.

Here is a sample of mine with minimal stuff that works if it helps..

[mike at scrappy ~]$ more /etc/sysconfig/network-scripts/ifcfg-eth0 
# nVidia Corporation MCP61 Ethernet
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.1.255
DNS1=192.168.1.2
GATEWAY=192.168.1.1
HWADDR=00:1b:fc:5e:53:18
IPADDR=192.168.1.3
NETMASK=255.255.255.0
ONBOOT=yes
SEARCH="miketc.net"

-- 
Mike Chambers
Fedora Project - Ambassador, Bug Zapper, Tester, User, etc..
mikec302 at fedoraproject.org




More information about the fedora-list mailing list