Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-13-2004, 06:21 PM
|
#1
|
Member
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310
Rep:
|
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
|
|
|
07-13-2004, 08:15 PM
|
#2
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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.
|
|
|
07-13-2004, 09:09 PM
|
#3
|
Member
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310
Original Poster
Rep:
|
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.
|
|
|
07-13-2004, 09:37 PM
|
#4
|
Member
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310
Original Poster
Rep:
|
I think i know how to do it now.. Just create A records using "*"s
example.
*.com.
*.net.
|
|
|
07-14-2004, 12:18 AM
|
#5
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
You might want to look into a more light-weight DNS server, since it won't actually be doing much.
|
|
|
All times are GMT -5. The time now is 06:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|