[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Help with DNS hell


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).

[*] there are so many network configuration problems with F10 that it almost seems it's been designed for offline use... ;-)

So, I'll sum it all up here, hoping someone can help me.

I disabled ipv6 by putting

alias ipv6 off
alias net-pf-10 off

on my modprobe.conf

I installed 'named' so that I could have a IPv4-only local DNS cache, but its configuration is not as easy as dnsmasq's, so I installed this one (I've been using dnsmasq since F8, no problems whatsoever). I then removed bind (only bind-libs and bind-utils remain).

Since dnmasq doesn't have an option like '-4' for named, I rebuilt it from SRPM passing COPTS=-DNO_IPV6 so that I could turn off IPv6 support. Apparently, it worked:
Dec  4 09:53:12 localhost dnsmasq[5677]: compile time options: no-IPv6 GNU-getopt no-ISC-leasefile DBus no-I18N TFTP
I also enabled port 53 on s-c-f (is this really necessary considering requests will come from localhost only?)

What happens now is: if I change /etc/resolv.conf to only point to (dnsmasq), I get no name resolution at all. Monitoring with wireshark shows me queries get to dnsmasq and it correctly forwards them to external DNS servers. However, replies apparently never come back. *But*, if I remove from /etc/resolv.conf and put external DNS IPs, queries go out and replies come in as expected.

Anyone knows what could cause this specific behavior? Any help will be much appreciated. Let me know if you need additional info.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]