diff options
-rwxr-xr-x | mdns-resolver | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/mdns-resolver b/mdns-resolver index c78e9f3..9d3f4b2 100755 --- a/mdns-resolver +++ b/mdns-resolver @@ -14,28 +14,6 @@ $soa = 'mesh.ffhl. 3600 IN SOA paul.ffhl. freifunk\.luebeck.asta.uni-luebeck. ### Config end ### -# Fix bugs and hack FQDN validation :> -module Net - module DNS - class RR - class SOA - def build_pack - @soa_pack = pack_name(@mname) - @soa_pack += pack_name(@rname) - @soa_pack += [@serial,@refresh,@retry,@expire,@minimum].pack("N5") - @rdlength = @soa_pack.size - end - end - end - - module Names - def valid?(name) - return true - end - end - end -end - def soaRecord record = Net::DNS::RR::SOA.new $soa return Net::DNS::RR::SOA.new(:name => record.name, |