When External IP is Change Error on DNS Service Occurs

Discussion in 'HOWTO-Related Questions' started by bluegrass, Jan 12, 2006.

  1. bluegrass

    bluegrass New Member

    I have an existing Web, DNS and Mail Server (Fedora Core) with an External IP address. I installed an Anti-Virus and Anti-Spam Hardware and connected the said Server to it's Internal/DMZ ports. I entered the Servers IP to the External IP of the new Hardware and changed the Servers IP to a private IP. When I did this, the DNS service of the said server won't work. I made some more adjustments on the DNS configuration files of the server; resolv.conf, named.conf, etc. but still DNS service won't work.

    Are there still any other configuration files I should edit?
  2. falko

    falko Super Moderator Howtoforge Staff

    You mean your server has now a local IP address (behind some kind of router), and now it can't resolve any domains?

    Is there anything related to this in the log in /var/log?
    What's the output of
    dig www.google.com
    What's in /etc/resolv.conf and /etc/hosts?

    ping -c4
  3. bluegrass

    bluegrass New Member

    Thanks so much for the reply, falko...

    There's nothing on the log related to the problem.

    This morning, I tried, stopping the 'firewall' of the server and it seems that it works. the 'dig www.google.com' works out fine and it did gave an answer, also to www.yahoo.com, and even my url.

    however, I am still waiting for any responses as to the outcome of the emails I sent to and from my Mail System which also resides on the same server as mentioned before. As of this writing there are no emails yet received on both recipients.

    Again, thanks.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you forwarded the smtp port from your router to your server and made sure its not blocked by a firewall?

    Have you checked that your provider does not block port 25?
  5. bluegrass

    bluegrass New Member

    Thanks, till.

    Yes, port 25 has been forwarded from the router and firewall to the server and vise-versa. My users can access their emails, unfortunately sending and receiving does not work properly. I also wonder why i can receive the automatic emails from my guestbook provider (third party), once a message is posted on our guestbook. I tried sending emails to yahoo and other corporate emails outside our domain, but sending fails....

    As of the moment, I configured my servers back to its original network setup, and I will try to configure a new mail server, which will be installed behind the said Anti-Virus and Anti-Spam router/firewall and see if it works.
  6. falko

    falko Super Moderator Howtoforge Staff

    Please contact your ISP's support to find out if they block port 25.
  7. bluegrass

    bluegrass New Member

    No, they don't block port 25. All ports are actually opened on the type of internet connection we subscribed. It is the disgression of the subscriber to filter out the unneeded ports by having a firewall (either hardware or software). In my existing network set-up prior to the acquisition of the Anti-virus and Anti-Spam/Firewall hardware I configured my Linux Server as Web/Mail/DNS and Firewall Server. Opening only certain ports for access (HTTP,SMTP,DNS,IMAP,POP).

    When I installed the new hardware, I disabled the Firewall at the server.
  8. falko

    falko Super Moderator Howtoforge Staff

    What's in your mail log when users try to send/receive emails without success?

Share This Page