Dynamic DNS Setup Singapore Singtel Singnet
Note: to fully understand this you probably need to map out the values, take your time it is rather complex.
The main problem seems to be that Singtel blocks port 80, hence requiring a port reforwarding. That plus the IP seems to change at times even though I do not disconnect, that will have to be solve some other way I guess =)
In any case I finally manage to get live server going.
Now if you do not want to go through this trouble, you will be fine with just a domain name, a dynamic dns service and a dial up line (dial up IP does not change)... though that may not necessarily be true since Singnet does some strange thing with the IPs, people normally see a 165.x.x.x and a 2xx.x.x.x I think it is due to same NAT thing.
of course by the time you read this, the IPs will be invalid ;)
[log:060809]
my current setup:
Under IP addresses
PPPoE_1
219.74.136.45/32
Auto
napt
eth0
169.254.141.11/16
Auto
none
eth0
192.168.1.1/24
User
none
loop
127.0.0.1/8
Auto
none
NAPT:
1
Stat
192.168.1.101:8080 //- inside
219.74.136.45:8080 //- outside
tcp
TIME_WAIT
DHCP:
nothing
DNS:
1
fenton
192.168.1.101
2
oscog
192.168.1.101
3
www
192.168.1.101
no-ip setup:
Host: IP / URL Action:
oscog.com
oscog.com 169.254.141.11 [IP] Modify
ftp.oscog.com 219.74.109.166 [IP] Modify | Delete
mail.oscog.com 219.74.109.166 [IP] Modify | Delete
www.oscog.com 219.74.136.45:8080 Modify | Stats | Delete
Note that for the lan connection on fenton. TCP/IP DNS is set to 192.168.1.1
not the Singnet 165.21.83.88
What happens is now I cannot see the alcatel name server when I type : oscog.com
in fact for some reason FF will prepend www, i.e. www.oscog.com
And then it will not resolve.
However if I type www.oscog.com in FF it will not resolve as well.
Typing www.oscog.com:8080 will resolve to my test page.
typing oscog.com:8080 will resolve to www.oscog.com:8080 and resolve
however typing oscog.com:8080 will not work on an external computer, indicating that this effect is due to my internal setup
Typing www.oscog.com on an external computer will resolve to 219.74.136.45:8080
typing fenton:8080 works
127.0.0.1 does not work 127.0.0.1:8080 works
(this is because apache is listening on 8080)
I will now set my primary NS to 165.21.83.88
now typing oscog.com resolves to my local Alcatel modem
strangely www.oscog.com does not work on fenton, but it does on the external computer
[/log:060809]
[log:060807]
This is a report on the DNS setup of oscog.com
I am writing this as I am unfamiliar with networking and would like to get better.
At this moment in time I have manage to make oscog.com live on the Internet.
The only problem is that it means my alcatel modem is "live" on the Internet.
Yeah my nameserver is exposed great plan huh. Anyways thats why this is not in a blog yet =)
So current status:
When I type "oscog.com"
I see my alcatel nameserver.
When I type "www.oscog.com" the server is unreachable.
Current Interface PPPoE_1
IP address/Netmask 121.6.238.129/32
Primary DNS 165.21.100.88
Secondary DNS 165.21.83.88
Interestingly DHCP lease is as follows:
lease = 1
Client ID = 01:00:0F:66:57:5F:FE
Address = 192.168.1.100 not 101 interesing
While my NATP is as follows:
Inside:
192.168.1.101:8080
Outside:
121.6.238.129:1444
2
Temp
Inside:
192.168.1.101:8080
Outside
unspecified:1444
So my NATP may have been miscoinfigure all the while???
DNS is as follows:
1
fenton
192.168.1.101
2
www
192.168.1.101
3
oscog
192.168.1.101
IP addresses:
PPPoE_1
121.6.238.129/32
Auto
napt
eth0
169.254.141.11/16
Auto
none
eth0
192.168.1.1/24
User
none
loop
127.0.0.1/8
Auto
none
NO-IP configuration:
oscog.com = 169.254.141.11 as DNS
Note to self:
configuration has been setup.
Tested with reboot (i.e. IP will change)
Need to add in NAPT, update no-ip and we are set
Note that internal IP should be 192.168.x.xxx while external IP should be the one seen by the public, i.e. usually 2xx.x.x.x
not the 165.x.x.x one.
However no-ip should be configured with the 165.x.x.x as Nameserver but for port redirection use the 2xx.x.x.x
apache and NAPT are currently set to listen at port xxxx
[/log:060807]
The main problem seems to be that Singtel blocks port 80, hence requiring a port reforwarding. That plus the IP seems to change at times even though I do not disconnect, that will have to be solve some other way I guess =)
In any case I finally manage to get live server going.
Now if you do not want to go through this trouble, you will be fine with just a domain name, a dynamic dns service and a dial up line (dial up IP does not change)... though that may not necessarily be true since Singnet does some strange thing with the IPs, people normally see a 165.x.x.x and a 2xx.x.x.x I think it is due to same NAT thing.
of course by the time you read this, the IPs will be invalid ;)
[log:060809]
my current setup:
Under IP addresses
PPPoE_1
219.74.136.45/32
Auto
napt
eth0
169.254.141.11/16
Auto
none
eth0
192.168.1.1/24
User
none
loop
127.0.0.1/8
Auto
none
NAPT:
1
Stat
192.168.1.101:8080 //- inside
219.74.136.45:8080 //- outside
tcp
TIME_WAIT
DHCP:
nothing
DNS:
1
fenton
192.168.1.101
2
oscog
192.168.1.101
3
www
192.168.1.101
no-ip setup:
Host: IP / URL Action:
oscog.com
oscog.com 169.254.141.11 [IP] Modify
ftp.oscog.com 219.74.109.166 [IP] Modify | Delete
mail.oscog.com 219.74.109.166 [IP] Modify | Delete
www.oscog.com 219.74.136.45:8080 Modify | Stats | Delete
Note that for the lan connection on fenton. TCP/IP DNS is set to 192.168.1.1
not the Singnet 165.21.83.88
What happens is now I cannot see the alcatel name server when I type : oscog.com
in fact for some reason FF will prepend www, i.e. www.oscog.com
And then it will not resolve.
However if I type www.oscog.com in FF it will not resolve as well.
Typing www.oscog.com:8080 will resolve to my test page.
typing oscog.com:8080 will resolve to www.oscog.com:8080 and resolve
however typing oscog.com:8080 will not work on an external computer, indicating that this effect is due to my internal setup
Typing www.oscog.com on an external computer will resolve to 219.74.136.45:8080
typing fenton:8080 works
127.0.0.1 does not work 127.0.0.1:8080 works
(this is because apache is listening on 8080)
I will now set my primary NS to 165.21.83.88
now typing oscog.com resolves to my local Alcatel modem
strangely www.oscog.com does not work on fenton, but it does on the external computer
[/log:060809]
[log:060807]
This is a report on the DNS setup of oscog.com
I am writing this as I am unfamiliar with networking and would like to get better.
At this moment in time I have manage to make oscog.com live on the Internet.
The only problem is that it means my alcatel modem is "live" on the Internet.
Yeah my nameserver is exposed great plan huh. Anyways thats why this is not in a blog yet =)
So current status:
When I type "oscog.com"
I see my alcatel nameserver.
When I type "www.oscog.com" the server is unreachable.
Current Interface PPPoE_1
IP address/Netmask 121.6.238.129/32
Primary DNS 165.21.100.88
Secondary DNS 165.21.83.88
Interestingly DHCP lease is as follows:
lease = 1
Client ID = 01:00:0F:66:57:5F:FE
Address = 192.168.1.100 not 101 interesing
While my NATP is as follows:
Inside:
192.168.1.101:8080
Outside:
121.6.238.129:1444
2
Temp
Inside:
192.168.1.101:8080
Outside
unspecified:1444
So my NATP may have been miscoinfigure all the while???
DNS is as follows:
1
fenton
192.168.1.101
2
www
192.168.1.101
3
oscog
192.168.1.101
IP addresses:
PPPoE_1
121.6.238.129/32
Auto
napt
eth0
169.254.141.11/16
Auto
none
eth0
192.168.1.1/24
User
none
loop
127.0.0.1/8
Auto
none
NO-IP configuration:
oscog.com = 169.254.141.11 as DNS
Note to self:
configuration has been setup.
Tested with reboot (i.e. IP will change)
Need to add in NAPT, update no-ip and we are set
Note that internal IP should be 192.168.x.xxx while external IP should be the one seen by the public, i.e. usually 2xx.x.x.x
not the 165.x.x.x one.
However no-ip should be configured with the 165.x.x.x as Nameserver but for port redirection use the 2xx.x.x.x
apache and NAPT are currently set to listen at port xxxx
[/log:060807]
0 Comments:
Post a Comment
<< Home