Current time: 11-01-2024, 09:17 AM Hello There, Guest! (LoginRegister)


Thread Closed 
[SOLVED] "Home server" (didn't recognize public IP)
Author Message
geri1590 Offline
Junior Member
*

Posts: 43
Joined: Dec 2008
Reputation: 1
Post: #1
[SOLVED] "Home server" (didn't recognize public IP)
Hi all, I try to be shortly.
My idea is to create a server in mi house. The problem is my router didn't recognize itself IP public. So, when I install ispCP (Ubuntu 8.04 server) I put my IP public, there's all great, except when a domain request DNS. The problem is domain resolve in local IP. So, in a local network can see the domain, but in a non-local network, don't see domain, because resolve en local IP.

Thanks 4 all and sry for my bad english Smile
(This post was last modified: 02-18-2009 11:39 PM by geri1590.)
02-16-2009 08:49 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: "Home server" (didn't recognize public IP)
Hi geri1590

the problem is:
- apache needs the "real" IP of the server, this is the local IP, eg. 192.168.1.10
- the dns should propagate the external IPs to the world - even if the dns itself runs on the local IP, so here we'd need the external IP...

ispCP cannot distinguish between the IP for apache and the IP for bind/dns.

Solutions:
- either use another DNS, external DNS and add domains to it manually
- or maybe change the bind-templates in ispcp so they have always the external IP in the zone files.

/Joxi
02-16-2009 09:52 AM
Visit this user's website Find all posts by this user
geri1590 Offline
Junior Member
*

Posts: 43
Joined: Dec 2008
Reputation: 1
Post: #3
RE: "Home server" (didn't recognize public IP)
Ok I test to change the bind-templates in ispcp. I comment when i test.
Thnks
02-17-2009 05:16 AM
Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #4
RE: "Home server" (didn't recognize public IP)
also set a proxy address in postfix main.cf...
02-18-2009 12:20 AM
Visit this user's website Find all posts by this user
geri1590 Offline
Junior Member
*

Posts: 43
Joined: Dec 2008
Reputation: 1
Post: #5
RE: "Home server" (didn't recognize public IP)
Hi, I also prove that postfix,
about bind: I tried to change /etc/ispcp/bind/parts/db_master_e.tpl and change DMN_IP to IP public, but when I register a domain in bind appears local. Anyone file to modify plz?
Thnks
02-18-2009 07:28 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: "Home server" (didn't recognize public IP)
try "db_e.tpl" in the same folder.

and maybe also the db_sub_entry.tpl

/J
02-18-2009 09:39 AM
Visit this user's website Find all posts by this user
geri1590 Offline
Junior Member
*

Posts: 43
Joined: Dec 2008
Reputation: 1
Post: #7
RE: "Home server" (didn't recognize public IP)
Oh! I didn't see it! I put IP public and domain can resolve without problems!!
Very thanks!!!! Smile
02-18-2009 11:38 PM
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)