Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.1.0

Bug #8487 $ORIGIN not honoured in SOA records
Submitted: 2006-08-17 10:34 UTC
From: cipri Assigned: cipri
Status: Bogus Package: File_DNS (version 0.0.8)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 40 - 18 = ?

 
 [2006-08-17 10:34 UTC] cipri (Cipriano Groenendal)
Description: ------------ The following SOA isn't recognized properly: --- $ORIGIN eu. example 14400 IN SOA ns1.example.com. hostmaster.example.com. ( 2006072708 3600 900 604800 14400 ) --- $ORIGIN isn't honoured, and it just gets 'example' instead of 'example.eu.'

Comments

 [2006-08-17 10:53 UTC] cipri (Cipriano Groenendal)
Fix in _parseSOA: -- if ($pre[0] == '@') { $soa['name'] = $origin; } elseif (preg_match('|.*\.|', $pre[0])) { $soa['name'] = $pre[0]; }else{ $soa['name'] - $pre[0] . $origin; }
 [2006-08-17 10:59 UTC] cipri (Cipriano Groenendal)
if ($pre[0] == '@') { $soa['name'] = $origin; } elseif (preg_match('|.*\.|', $pre[0])) { $soa['name'] = $pre[0]; }else{ $soa['name'] = $pre[0] . '.' . $origin; }
 [2010-02-22 12:29 UTC] doconnor (Daniel O'Connor)
-Status: Assigned +Status: Bogus -Roadmap Versions: 0.1.0 +Roadmap Versions:
Closing due to the package being dead for some years