Re: DNS Name Server with one IP address
From: Chris (ceo_at_nospan.on.net)
Date: 01/22/04
- Next message: Dale Dellutri: "Re: can I be seen behind the server?."
- Previous message: Tester: "interfaces speed and mode"
- In reply to: Chris: "Re: DNS Name Server with one IP address"
- Next in thread: Ben Measures: "Re: DNS Name Server with one IP address"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 22 Jan 2004 16:46:45 GMT
Chris wrote:
> Ivan wrote:
>
>> Hi all,
>>
>> Scenario:-
>> Linsys Router External IP (xxx.xx.xx.xx)
>> Internal IP (192.168.1.1)
>>
>> Router DMZ on and points to Linux box (192.168.1.10)
>>
>> Linux Box (192.168.1.10)
>>
>> Now I have a domain name www.mydomain.com registered with a registrar
>> (Currently uses their dummy name servers need to supply my own)
>>
>> 1) I cannot ask my ISP for this service or the registrar due to $$
>> 2) I would like to use run my own name server for flexibility (i will
>> find a secondary nameserver)
>> 3) I have tried free name server providers (but the refresh times are
>> too long >24hr)
>>
>> How do I set up so when a user points to www.mydomain.com so it
>> resolves to my Static IP address (xx.xx.xx.xx)?
>> My primary dns/www/mail server will all be on one machine
>> (192.168.1.10), is this configuration possible for an individual with
>> one IP address? If so how?
>> Please brief me on the DNS named and zone files as to what IP address
>> they should contain (local 192.168.1.10 or external (xx.xx.xx.xx)).
>>
>> All suggestions welcome however wish your answer can be detailed as I
>> am now worn out....
>>
>> p.s. I have gone through a lot of postings but not come across with my
>> setup above.(I could eliminate the router in between and configure
>> Linux as the router)
>
>
> This is totally possible to do. I would say that the responses you've
> received thus far haven't been overly enlightening. I wish I had the
> time to get really detailed with you, but I don't right now. But
> basically:
>
> (1) Start by getting your Linux machine set up first:
> - Create your DNS zone file for mydomain.com in /var/named
> - Reference the zone file in /etc/named.conf allowing zone transfers
> from the registrar and whomever you chose as your secondary DNS (more on
> that soon)
> - Restart named on your machine (# /etc/init.d/named restart)
>
> (It's totally possible to setup your /etc/named.conf to allow your DNS
> to work as a local caching DNS as well as your primary DNS simulatneously.)
>
> (2) Ready your router/firewall:
> - Port forward (I believe the correct nomenclature for Linksys) your
> service ports to the box or boxes behind your router that will be doing
> the HTTP, SMTP, etc. processing. If it's the Linux box, then port
> forward 80, 25, and whatever else you want to 192.168.1.10.
> - You don't need DNS set up to test to see if these work, just telnet
> (from an outside IP preferably) to your public IP at port <x>.
> - Port forward port 53 to 192.168.1.10. This will allow the DNS servers
> you specifed in /etc/named.conf to complete their zone transfers. You
> HAVE to do this.
>
> (3) Get a secondary DNS.
> - You have to do this for most registrars.
> - I can't recommend any secondary DNS service providers, but I used
> www.twisted4life.com with GREAT success. It was free and updates were
> >24hrs.
Oops... I meant to say updates are <24 hrs (less than). Usually within
1-2 hrs.
Chris
-----
Chris Olive
chris (-at-) technologEase (-dot-) com
http://www.technologEase.com
(pronounced "technologies")
- Next message: Dale Dellutri: "Re: can I be seen behind the server?."
- Previous message: Tester: "interfaces speed and mode"
- In reply to: Chris: "Re: DNS Name Server with one IP address"
- Next in thread: Ben Measures: "Re: DNS Name Server with one IP address"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|