LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 08-29-2006, 09:52 PM   #1
aubrey-calm2
LQ Newbie
 
Registered: Feb 2006
Location: Alabama
Distribution: Slackware 10.2/11.0
Posts: 23

Rep: Reputation: 15
no matter what I ping it resolves to the localhosts's IP....


Slackware 10.2
hostname = mail
IP = 192.168.1.199
sendmail 8.13.7
spamassassin
mimedefang
clamav
me = newbie

I have a mail server with some issues, and I think that all the issues may be stemmed from one problem. As mentioned above, the hostname is "MAIL" and the IP is 192.168.1.199. No matter what I PING, it will resolve to 192.168.1.199

root@mail:/etc# ping fart
PING fart.emailacs.com (192.168.1.199) 56(84) bytes of data.
64 bytes from mail.emailacs.com (192.168.1.199): icmp_seq=1 ttl=64 time=0.013 ms

I am using external DNS (put your guns down please), I hear that is a bad thing. I know that I can configure the mail server to also be it's own DNS, and I am on the way to learn how to do that, but in the mean-time, I would like it to not resolve anything to it's own IP, as I am getting a lot of emails from the sendmail program telling me what an a$$ I am.

Any help would make the world a better place. TIA

p.s. the only thing in /etc/hosts is:

127.0.0.1 localhost

-Aubrey

Last edited by aubrey-calm2; 08-29-2006 at 10:15 PM.
 
Old 08-29-2006, 10:27 PM   #2
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 46
is emailacs.com your search parameter in /etc/resolv.conf?
 
Old 08-30-2006, 05:25 PM   #3
aubrey-calm2
LQ Newbie
 
Registered: Feb 2006
Location: Alabama
Distribution: Slackware 10.2/11.0
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by slackhack
is emailacs.com your search parameter in /etc/resolv.conf?
Yes, is it not suppose to be?
 
Old 08-30-2006, 05:45 PM   #4
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 46
i think it might be telling everything to resolve to that domain. try it without and see what happens.
 
Old 08-31-2006, 12:17 PM   #5
aubrey-calm2
LQ Newbie
 
Registered: Feb 2006
Location: Alabama
Distribution: Slackware 10.2/11.0
Posts: 23

Original Poster
Rep: Reputation: 15
Okay, I took that out, and now it doesn't resolve everything to itslef. nice

I have the same setup at my house with a different domain, and it doesn't do the same thing. I'm thinking that this is more of an issue with my DNS. It appears that the wildcard in enabled for my domain. I need to get in and figure out how to use BIND.

Just a side-question, the "search" parameter in /etc/resolve, what if it's blank, or not there at all? I took it out, and only have:
nameserver xxx.xxx.xxx.xxx
nameserver yyy.yyy.yyy.yyy

Do I have to have the search parameter?

Thanks for your help.


-Aubrey

Last edited by aubrey-calm2; 08-31-2006 at 12:21 PM.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 13 03-17-2011 02:47 AM
Konqueror resolves symlinks crashmakerMX Linux - Software 4 06-23-2005 11:09 AM
Any name resolves to. A? CNAME? DNS Q dlublink Linux - Networking 3 01-11-2005 09:55 AM
Domain resolves with no www... ServerStorm Linux - Software 20 11-15-2004 10:12 AM
IP resolves, not others belorion Linux - Networking 3 06-30-2004 02:39 AM


All times are GMT -5. The time now is 03:00 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