LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-01-2007, 11:54 PM   #1
Xiiph
LQ Newbie
 
Registered: May 2004
Distribution: Ubuntu Server, Xubuntu, Fedora Core, Debian
Posts: 14

Rep: Reputation: 0
Local DNS, "fake" domain


Im toying around with my private network and this is what i want to achieve:

All computers on this LAN, query my DNS server (which will only be master for the certain domain I want), and for everything else, it will forward it to my ISP dns servers. Like this:

Local computer looking up computer1.apple.com ---> Local DNS server (only avail from LAN) ---> translate to local IP of a LAN computer.

Local computer look up www.google.com ---> Local DNS not master ---> ISP server ---> Give back real www.google.com

Im aware that this is most likley achieveable using the hosts files, but this is not what i want. Also I know that (in this example) the local computers would most likely not be able to reach the real apple.com domain and its website, but this is what i want. I cant see why this would be impossible due to the fact this will never be "known" to the rest of the internet as it stays strictly inside my LAN.

I been screwing around with this for quite some time now, and I just dont get it to work.

Any ideas? Using Ubuntu Server "Edgy Eft 6.10", with BIND9.

Thanks in advance
 
Old 01-02-2007, 12:39 PM   #2
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
This shouldn't be any problem. There are howtos out there on how to do this with Bind that should simply walk you through exactly what you are proposing. I do it at home myself, and don't have any issues with it.

If you are still having problems with it, let us know what exactly you are doing and we can go from there.
 
Old 01-02-2007, 11:15 PM   #3
Xiiph
LQ Newbie
 
Registered: May 2004
Distribution: Ubuntu Server, Xubuntu, Fedora Core, Debian
Posts: 14

Original Poster
Rep: Reputation: 0
I just got it working, did a stupid mistake after reading up on some security stuff...
Added a list of IPs which was supposed to be common "fake" ips used for attacks etc, blackholed them and ended up having my own LAN network being blackholed :/

On the other hand, now it works as a charm

Thanks for the help
 
  


Reply

Tags
bind, dns, domain, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Any way to get "Alice"; "Call of Duty" series and "Descent 3" to work? JBailey742 Linux - Games 13 06-23-2006 01:34 PM
difference between "Web server local URL" and "IPv4 address"? kpachopoulos Linux - General 2 09-17-2004 01:30 PM
running "fake" display with keyboard input thebover Slackware 9 09-15-2004 12:27 AM
DNS "search <domain>" working too well... ives Linux - Networking 1 05-21-2003 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration