Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-02-2007, 12:54 AM   #1
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 ---> Local DNS server (only avail from LAN) ---> translate to local IP of a LAN computer.

Local computer look up ---> Local DNS not master ---> ISP server ---> Give back real

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 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, 01:39 PM   #2
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 416

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-03-2007, 12:15 AM   #3
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


bind, dns, domain, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:07 PM
Any way to get "Alice"; "Call of Duty" series and "Descent 3" to work? JBailey742 Linux - Games 13 06-23-2006 02:34 PM
difference between "Web server local URL" and "IPv4 address"? kpachopoulos Linux - General 2 09-17-2004 02:30 PM
running "fake" display with keyboard input thebover Slackware 9 09-15-2004 01:27 AM
DNS "search <domain>" working too well... ives Linux - Networking 1 05-21-2003 10:44 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:10 AM.

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