Help for this page

Select Code to Download


  1. or download this
    $res = Net::DNS::Packet->new(); 
    $rr = Net::DNS::RR->new("news.yahoo.com. 86400 A 10.1.2.3"); 
    $res->push(answer => $rr); 
    print $res->data;
    
  2. or download this
    ;; HEADER SECTION
    ;; id = 26432
    ...
    ;; AUTHORITY SECTION (0 records)
    
    ;; ADDITIONAL SECTION (0 records)
    
  3. or download this
    > dig -p 1024 @localhost news.yahoo.com
    
    ...
    ; (1 server found)
    ;; global options:  printcmd
    ;; connection timed out; no servers could be reached
    
  4. or download this
    ;; HEADER SECTION
    ;; id = 41909
    ...
    ;; AUTHORITY SECTION (0 records)
    
    ;; ADDITIONAL SECTION (0 records)