LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 06-04-2006, 07:58 AM   #1
Simon_T
LQ Newbie
 
Registered: Apr 2006
Distribution: CentOS/RedHat
Posts: 4
Thanked: 0
Adding hostname and IP address to DNS for sendmail ip lookup


[Log in to get rid of this advertisement]
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
Simon_T is offline  
Tag This Post , ,
Reply With Quote
Old 06-04-2006, 08:30 AM   #2
Simon_T
LQ Newbie
 
Registered: Apr 2006
Distribution: CentOS/RedHat
Posts: 4
Thanked: 0

Original Poster
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
Simon_T is offline     Reply With Quote
Old 10-15-2009, 06:20 AM   #3
jackyr
LQ Newbie
 
Registered: Oct 2009
Posts: 2
Thanked: 0
The Internet Protocol (IP) is a protocol used for communicating data across a

packet-switched internetwork using the Internet Protocol Suite, also referred to as TCP/IP.

IP is the primary protocol in the Internet Layer of the Internet Protocol Suite and has the

task of delivering distinguished protocol datagrams (packets) from the source host to the

destination host solely based on their addresses. For this purpose the Internet Protocol

defines addressing methods and structures for datagram encapsulation. The first major

version of addressing structure, now referred to as Internet Protocol Version 4 (IPv4) is

still the dominant protocol of the Internet, although the successor, Internet Protocol the futher details about the IP can be get through by http://www.ip-details.com/
Version 6 (IPv6) is being deployed actively worldwide.Data from an upper layer protocol is encapsulated as packets/datagrams (the terms are basically synonymous in IP). Circuit setup is not needed before a host may send packets to another host that it has previously not communicated with (a characteristic of packet-switched networks), thus IP is a connectionless protocol. This is in contrast to public switched telephone networks that require the setup of a circuit for each phone call (connection-oriented protocol).
windows_xp_2003 jackyr is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 09:24 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration