-   Linux - Server (
-   -   Postfix installation breaks domain name resolution (

corkypa 07-24-2009 12:21 AM

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?

dxangel 07-24-2009 07:29 AM

what does the contents of /etc/resolv.conf say?

you can test DNS by making a request to the nameserver(s) listed in resolv.conf by using the following:


dig any @<ip address of your nameserver>

dig any @

corkypa 07-25-2009 12:23 AM

Resolv.conf contains


As mentioned, dig resolves the name, but using the name in other contexts will not work. Dig says that has addresses and .231. Pinging works fine. Pinging hangs.

dxangel 07-25-2009 05:50 AM

replied to wrong post - sorry!

dxangel 07-25-2009 06:21 AM

is the package resolveconf installed?

corkypa 08-03-2009 12:43 AM

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.

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