Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th February 2011, 06:43
mkhurram92 mkhurram92 is offline
Junior Member
 
Join Date: Dec 2010
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default Please Verify my DNS Settings ???

hi all there ???

Can anyone confirm my DNS Settings and specially MX Record Settings ???
Following is output of different commands of Checking DNS.
Pls Guide ???

1. dig abc.com mx

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> abc.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20109
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

;; QUESTION SECTION:
;abc.com. IN MX

;; ANSWER SECTION:
abc.com. 38400 IN MX 10 mailserver01.abc.com.

;; AUTHORITY SECTION:
abc.com. 38400 IN NS mainserver.abc.com.

;; ADDITIONAL SECTION:
mailserver01.abc.com. 38400 IN A 192.168.1.114
mainserver.abc.com. 38400 IN A 192.168.1.108

;; Query time: 10 msec
;; SERVER: 192.168.1.108#53(192.168.1.108)
;; WHEN: Fri Feb 11 20:47:13 2011
;; MSG SIZE rcvd: 125

++++++++++++++++++++++++++++++
2. dig abc.com any

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> abc.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12021
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;abc.com. IN ANY

;; ANSWER SECTION:
abc.com. 38400 IN MX 10 mailserver01.abc.com.
abc.com. 38400 IN A 192.168.1.108
abc.com. 38400 IN SOA mainserver.abc.com. admin.abc.com.abc.com. 1297373721 10800 3600 604800 38400
abc.com. 38400 IN NS mainserver.abc.com.

;; ADDITIONAL SECTION:
mailserver01.abc.com. 38400 IN A 192.168.1.114
mainserver.abc.com. 38400 IN A 192.168.1.108

;; Query time: 10 msec
;; SERVER: 192.168.1.108#53(192.168.1.108)
;; WHEN: Fri Feb 11 20:51:22 2011
;; MSG SIZE rcvd: 205

+++++++++++++++++++++++++++++++++
3. host $(hostname)
mailserver01.abc.com has address 192.168.1.114

++++++++++++++++++++++++++++++++++
4. cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search abc.com
nameserver 192.168.1.108

+++++++++++++++++++++++++++++++++
5. cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.1.114 mailserver01.abc.com mailserver01
+++++++++++++++++++++++++++++++++++++++


==================================
Best Regards
Jazaib Hussain
Reply With Quote
Sponsored Links
  #2  
Old 13th February 2011, 10:02
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Two things:

You need to create an A record for mailserver01.abc.com.

Did you use private IP addresses for your records? If so, your hosts will be accessible only in your LAN, not from outside.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 13th February 2011, 10:34
mkhurram92 mkhurram92 is offline
Junior Member
 
Join Date: Dec 2010
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Two things:

You need to create an A record for mailserver01.abc.com.

Did you use private IP addresses for your records? If so, your hosts will be accessible only in your LAN, not from outside.
hay falko thanks for ur reply

ok i create A record for mailserver01.abc.com.

Yes i know that my hosts are accessible only from inside not from out the LAN.
i want to access them outside the LAN. i have a mail.abc.com. from domain providers also so how i will do that

Guide me pls
__________________
+_+_+_+_+_+_+_+_+_+_+

Best Regards
-------------
Jazaib Hussain
Reply With Quote
  #4  
Old 14th February 2011, 14:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

You must point your DNS records to your router's public IP address and configure your router to forward all needed ports (like 25 for SMTP, 80 for HTTP, 110 for POP3) to your internal servers.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS data from Standalone servers to Primary DNS server SamTzu Tips/Tricks/Mods 7 15th November 2009 13:38
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
Google Apps dayjahone General 19 29th March 2008 17:25
DNS Configuration Problems VMartins Installation/Configuration 10 24th July 2007 14:40
Unable send receive emails vassilis3 Installation/Configuration 15 19th May 2007 14:34


All times are GMT +2. The time now is 14:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.