Problem same DNS between Internet and local network
I have a domain: "abc.com", and it is hosted from any providers. My users connect Internet through ADSL connection. They check mail POP3 with parameters:
- POP: pop.abc.com - SMTP: smtp.abc.com Now, i have purchase a new Linux RH server, i configured a DNS "abc.com" on it. However, user can't check mail POP from host "abc.com". When i telnet "#telnet abc.com 110", i have received the message "Unknow service..." So, how can i configure my DNS on Linux server as my domain hosting "abc.com" outside Internet? It means, my local DNS: "abc.com" ; and my domain hosting "abc.com" from Internet, user in localnetwork can check mail POP3 without error through Linux server (gateway). <<Internet-----exist(abc.com)>>-------------<gateway linux (abc.com for localnework use)>---Localnetwork--- Please help me. Thanks so much b:z |
You need to set up pop3.abc.com and smtp.abc.com in the DNS server configuration and point them to the mailserver (which is not the gateway, right?).
|
Thanks for your ideas,
However how can i set up as your suggestion? Note: The gateway linux also run as Webserver, but it is accessed from local network, not external. |
Well..what method do you use to configure the DNS server? Configuration files or any administration tool (web-based, for example)? If you're using configuration files, fin the right zone file (probably abc.com.zone in /var/named or /etc/named) and add to ADDITIONAL SECTION something like
pop.abc.com. A mailserveriphere smtp.abc.com. A mailserveriphere |
It doesn't work right.
Here is my short configuration: - file: named.conf ================================================== zone "0.in-addr.arpa" IN { type master; file "named.zero"; allow-update { none; }; }; zone "abc.com" IN { type master; file "db.abc"; allow-update { none; }; }; zone "1.168.192.in-addr.arpa" IN { type master; file "db.192.168.1.1"; allow-update { none; }; }; include "/etc/rndc.key"; ====================================================== - file: db.abc ====================================================== $TTL 86400 @ IN SOA ns.abc.com hostmaster.abc.com. ( 42 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum ; IN A 192.168.1.1 NS www ; Inet Address of nameserver abc.com MX 10 mail ; Primary Mail Exchanger ; localhost A 127.0.0.1 bird A 192.168.16.10 mail CNAME bird ns CNAME bird www CNAME bird pop.abc.com A 203.194.220.xxx smtp.abc.com A 203.194.220.xxx ======================================================= - file: db.192.168.1.1 ======================================================= $TTL 86400 @ IN SOA www.abc.com. hostmaster.abc.com. ( 42 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum ; NS www ; Name server address ; 1 IN PTR abc.com. ; ========================================================= Please help me solve the problem. Thanks so much |
Make it look this way:
Code:
localhost A 127.0.0.1 |
Thanks for anyway. I'm to be succeed.
Thanks so much again |
All times are GMT -5. The time now is 09:25 AM. |