Results 1 to 9 of 9

Thread: [SOLVED] Interesting Internal DNS conflict

  1. #1
    MTecknology is offline Loyal Member
    Join Date
    May 2008
    Location
    South Dakota
    Posts
    81
    Rep Power
    6

    Default [SOLVED] Interesting Internal DNS conflict

    I have a m0n0wall box as my router. Inside are two networks. x.x.0.x and x.x.1.x. The 0 range is for outside internet coming in. Everything coming in is controlled with NAT. This NAT will (by choice) forward only to 0 addresses. Each server is configured with two network cards. One on the 0 range, and one on the 1 range. The gigabit cards are set up on the 1 range for obvious reasons.

    The m0n0wall box uses DNS Forwarding to resolve internal server IP's. I setup mail.server.com to point back to the mail server.

    When I setup the DNS to point mail.server.com to x.x.0.x the internal email works. ie: "echo hi | sendmail recipient" works. Also, when DNS is pointing back to x.x.0.x the WebUI will not work.

    On the other hand, when DNS points back to x.x.1.x the internal mail doesn't work, but the WebUI does work.

    Any explanations to that? :S

    Thanks,
    -Mike

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    can you post some dig information please so we can see what is happening ?

  3. #3
    MTecknology is offline Loyal Member
    Join Date
    May 2008
    Location
    South Dakota
    Posts
    81
    Rep Power
    6

    Default Not sure how to fix this...

    It looks like the Apache service is binding to x.x.1.x and I would much rather just bind it to x.x.0.x. I think that's exactly where the problem is, but I don't know how to check or fix.

    Any suggestions?

    Thanks,
    -Mike

  4. #4
    Baylink is offline Elite Member
    Join Date
    Aug 2008
    Location
    St Pete FL USA
    Posts
    392
    Rep Power
    6

    Default

    Quote Originally Posted by MTecknology View Post
    It looks like the Apache service is binding to x.x.1.x and I would much rather just bind it to x.x.0.x. I think that's exactly where the problem is, but I don't know how to check or fix.
    Could be it's binding to *both*.

    Check the output of

    # lsof | grep IPv4

    and look for port 80.

    Or just find the Apache configs, and look for

    Listen *

    and change it to

    Listen IP

    (I think it's Listen... [ checks ] Yup.)
    Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
    Try to Ask Questions The Smart Way -- you'll get better answers.

    Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
    If you [SOLVE] something, please tell everyone how for the archives
    And, please... read what people write, and answer the questions they asked, not the ones they didn't.

  5. #5
    MTecknology is offline Loyal Member
    Join Date
    May 2008
    Location
    South Dakota
    Posts
    81
    Rep Power
    6

    Default Thought I could find them

    For whatever reason... I assumed I'd be able to find the apache config files, but I'm not seeing them. I tried find / -name apache. I suppose I should do a search for jetty too.

    Any pointers?

    Thanks,
    -Mike

  6. #6
    Baylink is offline Elite Member
    Join Date
    Aug 2008
    Location
    St Pete FL USA
    Posts
    392
    Rep Power
    6

    Default

    Looks like /opt/zimbra/conf/httpd.conf to me...
    Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
    Try to Ask Questions The Smart Way -- you'll get better answers.

    Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
    If you [SOLVE] something, please tell everyone how for the archives
    And, please... read what people write, and answer the questions they asked, not the ones they didn't.

  7. #7
    MTecknology is offline Loyal Member
    Join Date
    May 2008
    Location
    South Dakota
    Posts
    81
    Rep Power
    6

    Default :s

    This is every time Listen appears

    #
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    #
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
    #
    #Listen 12.34.56.78:80

    Listen 7780

    #

  8. #8
    MTecknology is offline Loyal Member
    Join Date
    May 2008
    Location
    South Dakota
    Posts
    81
    Rep Power
    6

    Default Not a big deal

    The issue only occurs internally. That's the uncommon use of the web interface. So... until I do an upgrade in which things might fix themselves from my constant tinkering with my network.... I'll just use the IP to get the website inside the network.

    Unless you have any last ideas.

    Thanks either way.

  9. #9
    Baylink is offline Elite Member
    Join Date
    Aug 2008
    Location
    St Pete FL USA
    Posts
    392
    Rep Power
    6

    Default

    This thread's ancient. but I'll answer it anyway: The port 80 Web Client *isn't running under Apache*, and I don't think the admin interface is either; the apache is only for the spell checker.

    The other ports are handled by Java code.
    Jay R. Ashworth - ZCS 6.0.9CE/CentOS5 - St Pete FL US - Music - Blog - Photography - IANAL - IAAMA
    Try to Ask Questions The Smart Way -- you'll get better answers.

    Put your product and version in your profile/signature - All opinions strictly my own, even though I have an employer these days.
    If you [SOLVE] something, please tell everyone how for the archives
    And, please... read what people write, and answer the questions they asked, not the ones they didn't.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Reverse DNS lookups with multiple Domain hosting.
    By carpicker in forum Installation
    Replies: 0
    Last Post: 04-23-2008, 12:14 PM
  2. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM
  3. DNS in a nutshell part two (For dummies)
    By daimer77 in forum Installation
    Replies: 4
    Last Post: 12-18-2006, 06:28 PM
  4. DNS Strategies and Best Practices, and a SLES10 Request
    By LMStone in forum Administrators
    Replies: 4
    Last Post: 10-14-2006, 07:51 AM
  5. Another DNS Thread - Internal and External IP
    By Mo_Hong in forum Administrators
    Replies: 4
    Last Post: 08-31-2006, 09:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •