Re: DNS Name Server with one IP address

From: Chris (ceo_at_nospan.on.net)
Date: 01/22/04


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")



Relevant Pages

  • Re: Networking problems (again) tough one
    ... The problem *only* occurs on my Linux machines. ... DNS numbers, ... all systems start working again whether setup manually or with DHCP. ... If theu are shoing good, and yet things dont work, you may have a misconfigured router. ...
    (comp.os.linux.setup)
  • RE: DNS not responding
    ... The Cisco commands simply accomplish port mapping, ... so that all DNS requests are sent to my linux box (since obviously the ... router isn't serving my dns zone). ... > router, which is why I've moved to this setup. ...
    (RedHat)
  • Re: DNS Name Server with one IP address
    ... Chris wrote: ... >> Router DMZ on and points to Linux box ... > from the registrar and whomever you chose as your secondary DNS (more on ...
    (comp.os.linux.misc)
  • Re: DNS Name Server with one IP address
    ... Chris wrote: ... >> Router DMZ on and points to Linux box ... > from the registrar and whomever you chose as your secondary DNS (more on ...
    (comp.os.linux.setup)
  • Re: Cannot connect to RWW from home PC
    ... No 10.0.0.138 is the address used to log onto Thomson's router to make the ... On the DNS question I can add an MX record in the DNS area of GoDaddy's ... eth0 172.26.0.1/16 Extra none ... Heres' the info for our server: ...
    (microsoft.public.windows.server.sbs)