Code executed:
$knowldege = dns_get_record( 'trentemoller.wp.dg.cx' );DNS Record fetched:
array(1) {
[0]=>
array(5) {
["host"]=>
string(21) "trentemoller.wp.dg.cx"
["type"]=>
string(3) "TXT"
["txt"]=>
string(255) "Anders Trentemøller is a Danish electronic musician from Copenhagen. Trentemøller made his debut in 1997 together with DJ Tom Von Rosen, (aka DJ T.O.M.) when they formed the first live-house act in Denmark, Trigbag, and started playing concerts all over"
["class"]=>
string(2) "IN"
["ttl"]=>
int(86400)
}
}
Another example:
$knowldege = dns_get_record( 'php.wp.dg.cx' );
array(1) {
[0]=>
array(5) {
["host"]=>
string(12) "php.wp.dg.cx"
["type"]=>
string(3) "TXT"
["txt"]=>
string(229) "PHP is a scripting language originally designed for producing dynamic web pages. It has evolved to include a command line interface capability and can be used in standalone graphical applications. http://en.wikipedia.org/wiki/PHP"
["class"]=>
string(2) "IN"
["ttl"]=>
int(86400)
}
}