DNS demo domains

XSS & HTML escape

$ dig +noall +answer -t TXT xss.lelux.fi
xss.lelux.fi.		86400	IN	TXT	"<script>alert('XSS!');</script>"
xss.lelux.fi.		86400	IN	TXT	"<script>alert(\"XSS!\");</script>"
$ dig +noall +answer -t TXT htmlescape.lelux.fi
htmlescape.lelux.fi.	86400	IN	TXT	"<h1>HTML!</h1>"

TXT chunks

$ dig +noall +answer -t TXT chunk-demo.lelux.fi
chunk-demo.lelux.fi.	86400	IN	TXT	"chunk" " " "demo" " " "one"
chunk-demo.lelux.fi.	86400	IN	TXT	"chunk" " " "demo" " " "two"

Go back to documentation