Setup ISC Bind to Direct all queries to one webpage

Posted on 2004-08-28
Last Modified: 2010-03-18
I work for an small ISP and we are trying to setup a way to send our blocked customers to only one website no matter what they type in their address bar.

Basically we are setting up a profile in our Radius that assigns the delinquent customer a different DNS address that will respond to all queries with the same address or webpage that lets them know that they are delinquent.

So my problem is I'm not very good with setting up bind and I want to get this to work.

If someone could tell me what to put in the named.conf file as well as anything else I would have to do to make this work I would appreciate it.

Question by:shinomen
  • 2
  • 2
LVL 40

Expert Comment

ID: 11921846
There's an example of doing exactly this in the Netreg package, see

Author Comment

ID: 11923286
I looked around a bit but I couldn't find what you are talking about.  Can you point me to the exact place or explain it for me?

LVL 40

Accepted Solution

jlevie earned 500 total points
ID: 11924400
You'll need do download and unpack the NetReg distribution. If you read the setup instructions you'll find the section on setting up a Bind server that makes any and all hostnames resolve to a single IP. The named.conf and such for doing this are in the distribution.

Author Comment

ID: 11925476

Featured Post

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Sending a Secure fax is easy with eFax Corporate ( First, just open a new email message. In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With  eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now