IP and DNS Setup troubles

Discussion in 'Installation/Configuration' started by nightsbird, Aug 23, 2006.

  1. nightsbird

    nightsbird New Member

    Okay i have a followed the tutorial perfect fedora core 3 setup. and installed ipsconfig. I want the ispconfig server also to be the primary dns server. in the ispconfig it lists the ip as the private network ip and gives room for other ips below. when creating a new site ( actually the www part of server1.example.com) so that www.example.com is an account) do i use the internal ip or external ip and do i add the external ip to the list and use it when setting up?
     
  2. jarrell

    jarrell New Member

    Try using internal and see if it works, if not try then to use the external!
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Do not enter the external IP address in the ISPConfig server preferences.

    You must select the internal IP address for the website and enter the external IP address in the DNS-Manager for the domain. You can not use the create DNS and MX checkboxes in the website settings in your scenario.
     
  4. nightsbird

    nightsbird New Member

    So i have to manually configure MX and A records etc.
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Yes, with ISPConfig's DNS Manager.
     
  6. nightsbird

    nightsbird New Member

    okay i guess im missing something then they have mx records , a records and ns records and my domain name has been pointed to the name servers for several days. the actual dns has been up since yesterday. how long before i can type in example.com and it actually take me there
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Please post your real domain name here, and I'll check it.
     
  8. nightsbird

    nightsbird New Member

    xg3d.com is the domain

    I switched it to a ubuntu server install for speed of installation i an behind a router what ports need to be forwarded i think that may be my problem
     
  9. mmidgett

    mmidgett Member

    Ports are 80,81,443,21,25,110,22
    These are the most common ports that should be forwared to your machine
    80 Web
    81 Web
    443 SSL ?
    21 FTP
    25 Mail
    110 Mail
    22 SSH

    Correct me if I am wrong.
     
  10. nightsbird

    nightsbird New Member

    thanks, 3306 is mysql, is bind 53. forwarded all of those but it still has access issues
     
  11. nightsbird

    nightsbird New Member

    This is what i get as a result of dig

    root@serv1:~# dig @192.168.200.140 xg3d.com

    ; <<>> DiG 9.3.2 <<>> @192.168.200.140 xg3d.com
    ; (1 server found)
    ;; global options: printcmd
    ;; connection timed out; no servers could be reached
    root@serv1:~#

    tried both internal and external ip both got same result
     
  12. jarrell

    jarrell New Member

    Hmm...have you disabled SELinux and Disabled the firewall in your linux setup? That could be the issue.:confused:
     
  13. nightsbird

    nightsbird New Member

    Hmm not sure but i switched to the Ubuntu tutorial it didnt say anything about that.
     
  14. jarrell

    jarrell New Member


    yeah try going in and disabling the SELinux and Firewall altogether.

    See I got my router setup using the DMZ settings so that it by passes me just opening certain ports. Then I got the static ip set in the server from the router and thats the same IP i used when setting up ISPConfig.
     
  15. nightsbird

    nightsbird New Member

    i dont see that either of those is even installed
     
  16. nightsbird

    nightsbird New Member

    Okay so for all those interested appearantly you cant use a slave zone with the same ip as the master zone ( it breaks bind) Deleted the slave zone and now it listens even dnsstuff.com can find it.
    And for those interested (server settings ip address is nat 192.168 address with an additional ip listed as the external IP the two sites i have setup are linked to the external ip not the internal ip)

    New Issue

    1) Why when i pull up the site does it show the apache /var/www folder contents and not the appropriate virtual host root?ISSUE SOLVE FOUND ANSWER IN ANOTER THREAD

    2) Mail will not deliver?
     
    Last edited: Aug 29, 2006
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    Which lines appear in your mail.log, wehn you send a email. Whicht pop3 daemon do you have installed?
     
  18. nightsbird

    nightsbird New Member

    its a Courier/Postfix setup I know that my isp blocks the standard mail port. Could this be the issue if so how do i change the port

    It says connection timed out port 25

    this is the log why does it have example.com also

    Aug 29 05:15:47 serv1 postfix/qmgr[28325]: 7CE251203A7: from=<web1_**[email protected]>, size=684, nrcpt=1 (queue active)
    Aug 29 05:15:47 serv1 postfix/qmgr[28325]: E56BE1203BA: from=<****[email protected]>, size=724, nrcpt=1 (queue active)
    Aug 29 05:16:17 serv1 postfix/smtp[32513]: connect to encore-etch.com[205.2**.2**.9*]: Connection timed out (port 25)
    Aug 29 05:16:17 serv1 postfix/smtp[32514]: connect to encore-etch.com[205.2**.2**.9*]: Connection timed out (port 25)
    Aug 29 05:16:17 serv1 postfix/smtp[32514]: E56BE1203BA: to=<***@****-etch.com>, relay=none, delay=54529, status=deferred (connect to encore-etch.com[205.2**.2**.9*]: Connection timed out)
    Aug 29 05:16:17 serv1 postfix/smtp[32513]: 7CE251203A7: to=<***@****-etch.com>, relay=none, delay=55467, status=deferred (connect to encore-etch.com[205.2**.2**.9*]: Connection timed out)
     
  19. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, thats the issue. If you know that your ISP blocks your mail traffic, why did you not post it at the beginning?

    You can not run a mailserver on a dsl line where port 25 is blockes, because all other mailservers will try to contact your server on port 25. If you only want to send mail and not receive email, then you can ask your provider if the run a mailrelay server that is not blocked.
     
  20. falko

    falko Super Moderator Howtoforge Staff

    If you want to relay your emails through your ISP's mail server, have a look here: http://www.howtoforge.com/forums/showthread.php?t=72&highlight=relayhost

    Your domain isn't working, there's something wrong with your DNS settings:
    Code:
    dig xg3d.com
    
    ; <<>> DiG 9.2.1 <<>> xg3d.com
    ;; global options:  printcmd
    ;; connection timed out; no servers could be reached
     

Share This Page