LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 06-04-2006, 07:58 AM   #1
Simon_T
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
thescripts_com/serveradministration/webservers/apache/virtual-hosting/app/sendmail_without_webmin.html

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 192.168.0.20 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,

Simon
 
Old 06-04-2006, 08:30 AM   #2
Simon_T
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 192.168.0.20 and now i get a different error, this time its "** server can`t find mymailservername: SERVFAIL

Any ideas about this?

Thanks

Simon
 
  


Reply

Tags
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 05:11 PM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 04:43 AM
problem with sendmail, IP address lookup failed mcd Linux - Networking 6 03-14-2005 09:14 AM
Wrong Hostname in the DNS and DHCP Address Leases of Windows 2000 saneax Linux - Networking 1 03-03-2005 04:14 AM
HostName: Host Name Lookup failire SuSE 9.0 DNS problem? direct2bebop Linux - Networking 1 01-17-2005 03:29 AM


All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
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