PDA

View Full Version : IP and DNS Setup troubles


nightsbird
23rd August 2006, 07:04
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?

jarrell
23rd August 2006, 07:14
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?

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

till
23rd August 2006, 11:37
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?

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.

nightsbird
23rd August 2006, 16:01
So i have to manually configure MX and A records etc.

falko
24th August 2006, 17:59
Yes, with ISPConfig's DNS Manager.

nightsbird
24th August 2006, 18:05
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

falko
24th August 2006, 18:12
Please post your real domain name here, and I'll check it.

nightsbird
28th August 2006, 17:15
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

mmidgett
28th August 2006, 21:17
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.

nightsbird
28th August 2006, 21:39
thanks, 3306 is mysql, is bind 53. forwarded all of those but it still has access issues

nightsbird
28th August 2006, 22:05
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

jarrell
28th August 2006, 22:15
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

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

nightsbird
28th August 2006, 22:22
Hmm not sure but i switched to the Ubuntu tutorial it didnt say anything about that.

jarrell
28th August 2006, 22:41
Hmm not sure but i switched to the Ubuntu tutorial it didnt say anything about that.


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.

nightsbird
28th August 2006, 23:27
i dont see that either of those is even installed

nightsbird
29th August 2006, 06:12
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?

till
29th August 2006, 09:15
Mail will not deliver?

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

nightsbird
29th August 2006, 14:17
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_**bar@example.com>, size=684, nrcpt=1 (queue active)
Aug 29 05:15:47 serv1 postfix/qmgr[28325]: E56BE1203BA: from=<****bar@xg3d.com>, 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)

till
29th August 2006, 15:04
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

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.

falko
29th August 2006, 21:50
then you can ask your provider if the run a mailrelay server that is not blocked.
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: dig xg3d.com

; <<>> DiG 9.2.1 <<>> xg3d.com
;; global options: printcmd
;; connection timed out; no servers could be reached