I feel really stupid asking this, but I've been reading posts and articles on the net all morning and I'm still totally confused on how to set up DNS at my office. Here's the situation:
I've got a static IP on a T1 (lets pretend it's 1.1.1.1), and I want to run mail,ftp, from my DMZ which is a vlan on my router. The DMZ subnet is 192.168.4.x and is completely isolated, as all DMZ's should be, from my LAN. I have 2 computers on the vlan 1) Win2000 mail/dns server and 2) FreeBSD server. I set port forwarding on the router to foward in 53 to my win2000 box for DNS, and 80 for the www, etc. Now I can't even get to the point of testing out my nameserver from the outside, because (here's where I'm confused the most) I don't know how to update my registrar's information to point to my nameserver. At first I tried putting in my IP 1.1.1.1 but it refuses addresses. So then I queried rDNS lookup for my ip and it came back with a name, however when I use DNS lookup on the name rDNS gave me it doesn't resolve. So how in the world am I to set my registrar to point to my nameservers for my domain if my IP doesn't even have a name? I saw some posts mention getting registered with your ISP. So I request a name from my ISP? I don't understand it. Will they charge me?
Also, once I do have it all set up, I forsee serious problems... Lets say someone tries to connect to my webserver - (domain is bar.com) so they type in and it queries my name server, won't my nameserver return 192.168.4.x for the address? That's not going to work too well... Or even if I get it to return 1.1.1.1 for the address there's a problem then since my mail server runs a web based mail program. I would like to just type and have it go to my mail webpage and go to my normal webpage. Instead of doing something cheesy like mail.bar.com:8080 and then port forwarding 8080 into the mail server. But if the DNS server returns 1.1.1.1 for all queries I don't see how to do it differently. I'm so lost on this and I need to get everything working very very soon. If anyone can help please do, I will be overjoyed.
-----Chris
I've got a static IP on a T1 (lets pretend it's 1.1.1.1), and I want to run mail,ftp, from my DMZ which is a vlan on my router. The DMZ subnet is 192.168.4.x and is completely isolated, as all DMZ's should be, from my LAN. I have 2 computers on the vlan 1) Win2000 mail/dns server and 2) FreeBSD server. I set port forwarding on the router to foward in 53 to my win2000 box for DNS, and 80 for the www, etc. Now I can't even get to the point of testing out my nameserver from the outside, because (here's where I'm confused the most) I don't know how to update my registrar's information to point to my nameserver. At first I tried putting in my IP 1.1.1.1 but it refuses addresses. So then I queried rDNS lookup for my ip and it came back with a name, however when I use DNS lookup on the name rDNS gave me it doesn't resolve. So how in the world am I to set my registrar to point to my nameservers for my domain if my IP doesn't even have a name? I saw some posts mention getting registered with your ISP. So I request a name from my ISP? I don't understand it. Will they charge me?
Also, once I do have it all set up, I forsee serious problems... Lets say someone tries to connect to my webserver - (domain is bar.com) so they type in and it queries my name server, won't my nameserver return 192.168.4.x for the address? That's not going to work too well... Or even if I get it to return 1.1.1.1 for the address there's a problem then since my mail server runs a web based mail program. I would like to just type and have it go to my mail webpage and go to my normal webpage. Instead of doing something cheesy like mail.bar.com:8080 and then port forwarding 8080 into the mail server. But if the DNS server returns 1.1.1.1 for all queries I don't see how to do it differently. I'm so lost on this and I need to get everything working very very soon. If anyone can help please do, I will be overjoyed.
-----Chris