Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-04-2006, 06:58 AM   #1
LQ Newbie
Registered: Apr 2006
Distribution: CentOS/RedHat
Posts: 4

Rep: Reputation: 0
Adding hostname and IP address to DNS for sendmail ip lookup

I completly messed up my sendmail config, so I removed it completly and reinstalled.

Now when I follow some instructions from

I`m told that the first thing to do is "get all the DNS issues straight" then it goes on to say that I need to "add the hostname and IP address for the new e-mail server to your DNS server" and then use "nslookup -sil mymailservername"

I don`t have any experience with setting DNS on Linux so can anyone explain how i can add the correct dns records to internally resolve mylocalmailserver.mylocaldomain into its ip address and also I think I need the reverse DNS setup aswel.

The whole purpose of all this is to set up a local mailserver that downloads all our accounts from our webhost and then we connect to our local mailserver and check emails.

Hope someone can help,

Old 06-04-2006, 07:30 AM   #2
LQ Newbie
Registered: Apr 2006
Distribution: CentOS/RedHat
Posts: 4

Original Poster
Rep: Reputation: 0
I`ve got part of the solution, my firewall, (different pc) was serving the dns so first i had to change the dns resolution in /etc/resolv.conf to nameserver and now i get a different error, this time its "** server can`t find mymailservername: SERVFAIL

Any ideas about this?




dns, hostname, sendmail

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
DHCP seems to set hostname = Mac address, doesn't reverse lookup techsimian Linux - Networking 4 08-15-2006 04:11 PM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM
problem with sendmail, IP address lookup failed mcd Linux - Networking 6 03-14-2005 08:14 AM
Wrong Hostname in the DNS and DHCP Address Leases of Windows 2000 saneax Linux - Networking 1 03-03-2005 03:14 AM
HostName: Host Name Lookup failire SuSE 9.0 DNS problem? direct2bebop Linux - Networking 1 01-17-2005 02:29 AM > Forums > Linux Forums > Linux - Networking

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

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