Aristotle and everyone,
My apologies for posting to the wrong list. My idea was that writing a
DNS server that can return anything (no silly zone files) was to buy
a domain (let's say ktjones.com) and set it up to do the following:
1. Have fortune.ktjones.com return a random fortune (TXT record
* Kelly Jones [EMAIL PROTECTED] [2006-11-26 08:00]:
I've used xinetd to set up a test nameserver on port 1024.
Here's the Net::DNS Perl I'm using to say (falsely) that
news.yahoo.com resolves to 10.1.2.3 with a TTL of 1 day:
Hmm. Your question is not very Fun, so this is the wrong list to
ask.
I've used xinetd to set up a test nameserver on port 1024. Here's the
Net::DNS Perl I'm using to say (falsely) that news.yahoo.com resolves
to 10.1.2.3 with a TTL of 1 day:
$res = Net::DNS::Packet-new();
$rr = Net::DNS::RR-new(news.yahoo.com. 86400 A 10.1.2.3);
$res-push(answer = $rr);
print