Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 1999 22:46:58 -0400
From:      "Michael R. Wayne" <wayne@staff.msen.com>
To:        isp@FreeBSD.ORG
Subject:   DNS shim?
Message-ID:  <199905270246.WAA12250@manor.msen.com>

next in thread | raw e-mail | index | archive | help

I need to permanently shut down one of our DNS servers.  This
machine is located remotely using an IP address that can not be
easily moved.  The problem is that lots of users have stuck it's
IP address into thir resolv.conf files or Win95/98 registries.  I
wrote some daemons that camp on a bunch of machines and track DNS
utilization by user (don't ask :-).  Repeated email messages and
even phone calls have not convinced them to change their setup.

Now, I could just shut it off but all the web surfers will see a
long pause on every page and they'll complain.  Doable but ugly.

So, here's my thought.  Drop a program on this machine that examines
every DNS lookup.  If the hostname starts with "www.", we'll assume
they are browsing and return a fixed IP address that, regardless
of URL, points to a page that says "Fix your machine" and gives
instructions.  If the hostname is anything else, return normal DNS.

This looks to be a non-trivial hack.  I'm wondering if anyone has 
already solved this problem?

/\/\ \/\/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905270246.WAA12250>