LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-23-2009, 11:21 PM   #1
corkypa
LQ Newbie
 
Registered: Oct 2005
Posts: 18

Rep: Reputation: 0
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
 
Old 07-24-2009, 06:29 AM   #2
dxangel
Member
 
Registered: Nov 2008
Location: London, UK
Distribution: CentOS, RedHat, Ubuntu
Posts: 79

Rep: Reputation: 18
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:

Code:
dig any google.com @<ip address of your nameserver>

eg:
dig any google.com @1.2.3.4
 
Old 07-24-2009, 11:23 PM   #3
corkypa
LQ Newbie
 
Registered: Oct 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Resolv.conf contains

nameserver 208.67.220.220


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.
 
Old 07-25-2009, 04:50 AM   #4
dxangel
Member
 
Registered: Nov 2008
Location: London, UK
Distribution: CentOS, RedHat, Ubuntu
Posts: 79

Rep: Reputation: 18
replied to wrong post - sorry!
 
Old 07-25-2009, 05:21 AM   #5
dxangel
Member
 
Registered: Nov 2008
Location: London, UK
Distribution: CentOS, RedHat, Ubuntu
Posts: 79

Rep: Reputation: 18
is the package resolveconf installed?
 
Old 08-02-2009, 11:43 PM   #6
corkypa
LQ Newbie
 
Registered: Oct 2005
Posts: 18

Original Poster
Rep: Reputation: 0
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.

Last edited by corkypa; 08-02-2009 at 11:57 PM.
 
  


Reply

Tags
debian, postfix


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
*solved* Lenny kernel upgrade breaks OSS installation bezdomny LinuxQuestions.org Member Success Stories 0 02-11-2009 12:23 PM
local domain versus official domain in POSTFIX lucmohamed Linux - Server 1 04-14-2008 06:06 AM
Postfix Help - Allow only one domain waddy Linux - Server 7 06-05-2007 05:05 PM
Domain Name Resolution d0127810 Debian 5 05-29-2005 10:15 AM
Kernel compile breaks both nvidia driver module and dirver installation darkleaf Linux - Software 9 08-19-2004 04:24 PM


All times are GMT -5. The time now is 12:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration