Re: DNS Name Server with one IP address
From: Ben Measures (saint_abroadremove_at_removehotmail.com)
Date: 01/21/04
- Next message: Patrick Cohan: "Re: DNS Name Server with one IP address"
- Previous message: Harold: "Re: MSN Messenger Behind a NATting IPtables Firewall"
- In reply to: Ivan: "DNS Name Server with one IP address"
- Next in thread: Ivan: "Re: DNS Name Server with one IP address"
- Reply: Ivan: "Re: DNS Name Server with one IP address"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 21 Jan 2004 22:49:37 +0000
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)
There are three possibilities:
1. You don't need a DNS server.
2. You do need a DNS server.
3. You don't want a DNS server but a DNS cache.
1. You don't need a DNS server.
If you registered your domain name with www.mydomain.com then it will be
on their DNS servers. The domain name would be pointing to a
holding/dummy web server, not a dummy nameserver. Putting your domain
name into your browser wouldn't bring up anything otherwise.
2. You do need a DNS server.
Make sure you read "1. You don't need a DNS server" a couple of times.
If you're convinced that you still need to supply your own DNS server,
read this.
So you want a DNS server on your network, resolving your domain name to
an ip address for anybody on the Internet?
Setting up a public DNS server is complicated. Seeing that you don't
know whether you can have dns/www/mail on one computer makes me think
that you might be in over your head.
If you're stubbornly determined, heres the HOWTO:
http://langfeldt.net/DNS-HOWTO/BIND-8/
3. You don't want a DNS server but a DNS cache.
If what you really want is a DNS cache for your local network, then have
a look at chapter 3:
http://langfeldt.net/DNS-HOWTO/BIND-8/DNS-HOWTO-3.html
-- Ben M. ---------------- What are Software Patents for? To protect the small enterprise from bigger companies. What do Software Patents do? In its current form, they protect only companies with big legal departments as they: a.) Patent everything no matter how general b.) Sue everybody. Even if the patent can be argued invalid, small companies can ill-afford the typical $500k cost of a law-suit (not to mention years of harassment). Don't let them take away your right to program whatever you like. Make a stand on Software Patents before its too late. Read about the ongoing battle at http://swpat.ffii.org/ ----------------
- Next message: Patrick Cohan: "Re: DNS Name Server with one IP address"
- Previous message: Harold: "Re: MSN Messenger Behind a NATting IPtables Firewall"
- In reply to: Ivan: "DNS Name Server with one IP address"
- Next in thread: Ivan: "Re: DNS Name Server with one IP address"
- Reply: Ivan: "Re: DNS Name Server with one IP address"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|