[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dns answer
On Sunday 02 May 2004 04:28 pm, wolk wrote:
> Hi.
>
> I try to make somethink like dns spoofing. When my router is disconnect
> from internet all dns query from statin in localnet get the same answer for
> example:
> station1 ask for www.example1.com and get the answer 192.168.1.1
> station1 ask for www.example2.com and get the answer 192.168.1.1
You can do this with the included BIND. Setup named.conf as authoritative for
the TLDs, with zone files that contain a wildcard record to your IP. There
may be a cleaner way to do it but this is how I'm remembering it when I
needed to do such a thing. If this doesn't make sense to you let me know
off-list.