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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

821 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