30 października 2007, 00:52:20 - Poziom 0 [ z eksportu] Szaleniec DNSowy

Znalazłem na perlowej liście (wg. Kasprzola to wiele tłumaczy :> ) i cytuje w całości:
Kelly Jones
Mon, 27 Nov 2006 18:20:48 -0800

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 with a
TTL of 1 second, though most nameservers will cache it for longer)

2. Have mirror.ktjones.com return the IP address of the requestor (so
you can see where your DNS queries *really* go)

3. Have time.ktjones.com return the current time (either as a TXT
record or the result of Perl's time() converted to IP address format)
w/ a TTL of 1 second-- see how long your DNS server caches 1 second TTLs.

4. Have ttl-[n].time.ktjones.com do the same thing but with a TTL of n seconds.

5. Have http.url.with.slashes.replaced.by.dots.ktjones.com return (TXT
record) the contents of a specified URL, perhaps adding a "part[n]"
parameter if TXT record size is limited. Added bonuses:

5a. Quasi-anonymizes web access (almost everyone proxies DNS
requests, and it's UDP)

5b. Caches web content on nameservers -- content from more popular
webservers will be available on multiple nameservers, even if the
site itself goes down

5c. UDP more efficient than TCP?

5d. Pollutes the DNS namespace :)

6. Scaled-down version of above (limited size TXT records):

6a. "stocksymbol.stock.ktjones.com" return a stock quote

6b. "metarsymbol.metar.ktjones.com" return the latest METAR (weather) for
    a given METAR code

6c. "content.email-address.email.ktjones.com" sends an email to
someone (yeah, this could admittedly be abused)

6d. "content.(screename|phonenumber).(aim|sms).ktjones.com" could
send an AIM message or SMS to someone

I guess I should've posted to fun-with-DNS, but I don't think that exists!

2 komentarze

 

wicked & twisted!

Kasprzol - 30 października 2007 00:53:40

Rzeczywiście, to wiele tłumaczy :)

DoomHammer - 30 października 2007 16:36:34

Podpis:
Treść:
Strona WWW (opcjonalnie):
Wpisz kod:code

Powrót na główną

head Main Jogger. jajc. remiq.net. chrome. Notes headlines. bookmarks.
odstep.!Ona (0/0)
odstep.Przyjaciele (4/5)
odstep.CTD (Wiktor)
odstep.eR
odstep.Jade
odstep.Lobo
odstep.Kategorie
odstep.embeded [5]
odstep.niepoprawne [13]
odstep.o remiqu [91]
odstep.14.03.2007 - 13.04.2009 [2]
odstep.Ogólne [927]
odstep.Politycznie [103]
odstep.projekt Libraria [13]
odstep.projekty [7]
odstep.Irony Projects [1]
odstep.projekt AmaLight [12]
odstep.projekt Fud [48]
odstep.remiq.net [21]
odstep.YPA [1]
odstep.Rodzinnie [4]
odstep.Szczecin [3]
odstep.Techblog [4]
odstep.Uczelnia [25]
odstep.z eksportu [20]
odstep.Jogger (7/7)
odstep.Kobieta z pingwinem
odstep.Zlota betatesterka
odstep.RKlisowski
odstep.Aaaa to kto?
odstep.ZdzichuBG
odstep.WIPS (3/3)
odstep.Kasprzol
odstep.Xycu
odstep.Bookmarks
odstep.Łosoś?
odstep.JAJC Plugins
odstep.Biblionetka
odstep.Login
odstep.Zalogowano jako:
odstep.
odstep.Archiwum
odstep.Styczeń 2004
odstep.Luty 2004
odstep.Marzec 2004
odstep.Kwiecień 2004
odstep.Maj 2004
odstep.Czerwiec 2004
odstep.Lipiec 2004
odstep.Sierpień 2004
odstep.Wrzesień 2004
odstep.Październik 2004
odstep.Listopad 2004
odstep.Grudzień 2004
odstep.Styczeń 2005
odstep.Luty 2005
odstep.Marzec 2005
odstep.Kwiecień 2005
odstep.Maj 2005
odstep.Czerwiec 2005
odstep.Lipiec 2005
odstep.Sierpień 2005
odstep.Wrzesień 2005
odstep.Październik 2005
odstep.Listopad 2005
odstep.Grudzień 2005
odstep.Styczeń 2006
odstep.Luty 2006
odstep.Marzec 2006
odstep.Kwiecień 2006
odstep.Maj 2006
odstep.Czerwiec 2006
odstep.Lipiec 2006
odstep.Sierpień 2006
odstep.Wrzesień 2006
odstep.Październik 2006
odstep.Listopad 2006
odstep.Grudzień 2006
odstep.Styczeń 2007
odstep.Luty 2007
odstep.Marzec 2007
odstep.Kwiecień 2007
odstep.Maj 2007
odstep.Czerwiec 2007
odstep.Lipiec 2007
odstep.Sierpień 2007
odstep.Wrzesień 2007
odstep.Październik 2007
odstep.Listopad 2007
odstep.Grudzień 2007
odstep.Styczeń 2008
odstep.Luty 2008
odstep.Marzec 2008
odstep.Kwiecień 2008
odstep.Maj 2008
odstep.Czerwiec 2008
odstep.Lipiec 2008
odstep.Sierpień 2008
odstep.Wrzesień 2008
odstep.Październik 2008
odstep.Listopad 2008
odstep.Grudzień 2008
odstep.Styczeń 2009
odstep.Luty 2009
odstep.Marzec 2009
odstep.Kwiecień 2009
odstep.Maj 2009
odstep.Czerwiec 2009
odstep.Lipiec 2009
odstep.Sierpień 2009
odstep.Wrzesień 2009
odstep.Październik 2009
odstep.Listopad 2009
odstep.Grudzień 2009
odstep.Styczeń 2010
odstep.Luty 2010
odstep.Marzec 2010
odstep.Kwiecień 2010
odstep.Maj 2010
odstep.Czerwiec 2010
odstep.Lipiec 2010
odstep.Sierpień 2010
odstep.Październik 2010
odstep.Listopad 2010
odstep.Marzec 2011
odstep.Kwiecień 2011
odstep.Maj 2011
odstep.Lipiec 2011
odstep.Wrzesień 2011
odstep.Październik 2011
odstep.Listopad 2011
odstep.Marzec 2012
odstep.
odstep.
odstep.

Powered by Jogger