Postfix installation breaks domain name resolution
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Postfix installation breaks domain name resolution
I have a VPS that I am preparing, and ran into a problem that I narrowed down to postfix. If I start with a fresh, minimal Debian 5.01 VPS, do aptitude update, followed by aptitude full-upgrade, everything is fine. I then install postfix ("aptitude install postfix"), and domain name resolution is mostly broken thereafter. I can't ping anything by domain name, but I can ping it by IP address. I say domain name resolution is mostly broken because if I installed dnsutils before postfix, I can still do a dig or nslookup on a name. However, use of domain names seems broken in all other aspects, so the VPS is dead, and if I reboot it, I can't even log in.
It seems odd that postfix would cause the problem. Is there anything I can do to fix it?
Last edited by corkypa; 07-24-2009 at 11:26 PM.
Reason: noticed word missing
As mentioned, dig resolves the name, but using the name in other contexts will not work. Dig says that www.google.com has addresses 208.67.217.230 and .231. Pinging 208.67.217.230 works fine. Pinging www.google.com hangs.
Resolvconf wasn't install. I did install it (version 1.42) before installing postfix, but the result is the same as before. It might not be that name resolution is broken, but some how the use of the results is broken.
When I install postfix, the following get installed:
The following NEW packages will be installed:
file{a} libdb4.5{a} libmagic1{a} libsqlite3-0{a} mime-support{a}
openssl{a} openssl-blacklist{a} postfix python{a} python-minimal{a}
python2.5{a} python2.5-minimal{a} ssl-cert{a}
I tried installing the prerequisites, but they don't cause the problem. It is only postfix. As soon as I install the postfix package, I get the problem, and it goes away when I remove the package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.