LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-13-2004, 05:21 PM   #1
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
Any way to make bind resolve any request to same IP?


I was wondering if anyone knows how to configure bind so that any request it gets will resolve back to a IP of my choosing.

For example client on LAN wants to go to yahoo, google, etc.. and instead of giving the correct results for any domain it will return 192.168.0.1.


Thanks
 
Old 07-13-2004, 07:15 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
No exactly an answer to your question, but:

If the clients you are trying to fool are Windows clients, I found that if you setup Internet Explorer to use a proxy server, and then set the IP of the proxy server to be your webserver, any URL you type will bring you to the webserver you setup as the proxy.

I don't know if that will work on Linux though, I never tried.
 
Old 07-13-2004, 08:09 PM   #3
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Original Poster
Rep: Reputation: 35
It needs to be done without touching the client side, and be as seamless as possible. I remeber reading a article on setting up wildcards in bind that would do this, but can't seem to find it.
 
Old 07-13-2004, 08:37 PM   #4
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Original Poster
Rep: Reputation: 35
I think i know how to do it now.. Just create A records using "*"s

example.

*.com.
*.net.
 
Old 07-13-2004, 11:18 PM   #5
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You might want to look into a more light-weight DNS server, since it won't actually be doing much.
 
  


Reply



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
my bind 8.2.4 sometime can't resolve name chhansopheaktra Linux - Networking 2 08-11-2005 06:29 AM
BIND - Locally OK, LAN cleints unable to resolve? Xaque208 Linux - Networking 2 08-08-2005 09:32 AM
BIND/DNS: Some subdomains resolve, some don't natetheros Linux - Networking 0 04-22-2005 06:36 PM
bind & resolve local hosts jingo_man Linux - Networking 7 07-08-2004 02:56 PM
How to resolve base domain name using bind/named? qidwai Linux - Networking 2 05-08-2004 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:28 PM.

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