Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have two boxes, 1- Centos router, 2- centos web/mail server..
When trying to receive mail using mail.xxx.xxx in the mail client server settings, it will not resolve to any machine on the internal network... I have to enter the internal IP address in the incoming and outgoing email settings..
Same with the website I host.. I have to enter the internal IP to get access..
It just will not resolve the DNS on the internal network.
You should add it in your client box, i.e. the box you're using to access the mailserver or the webserver.
Of course it does not harm if you add it to any other internal box.
As I told you this is the easiest way, but if you have many boxes, it would be a waste of time to configure all of them. In this case you can use an internal dns, or a split (internal/external) dns to do your job.
What i am trying to work out is a fix for the GW or my mail/web server which is also my main dns server.
I have >10 pc's that access mail on the network and outside as well..
One thing, i did have a simple netgear router that was a temporary fix while I was upgrading the GW and i did not experience this issue. It must be something with my firewall rules?
First of all it's not a firewall but a dns problem, as you said you can access your servers with their IP addresses. And since you said it worked with the router, I guess the router was running dhcpd to assign IPs to your boxes along with hostnames.
Since you are running your own dns server, you should consider using views to distinguish between internal and external network
First of all it's not a firewall but a dns problem, as you said you can access your servers with their IP addresses. And since you said it worked with the router, I guess the router was running dhcpd to assign IPs to your boxes along with hostnames.
Since you are running your own dns server, you should consider using views to distinguish between internal and external network
Regards
Thanks for the reply but it was my firewall..
I added- (xxx.xxx.xxx.xxx- your IP) GW is .254, Mail is .250
# Reroute public request to internal server :
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.