summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-05-13 07:41:58 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-05-13 07:41:58 +0200
commit4ccd7ba388295ff9d22c80f6cff147be7aff8cac (patch)
tree2535a8b5d33f777ca67f3b5c9face3bd3456120f
parent05b7e4bf0d2fa8fa50746c752af33a1c6b41173b (diff)
downloadmdns-resolver-4ccd7ba388295ff9d22c80f6cff147be7aff8cac.tar
mdns-resolver-4ccd7ba388295ff9d22c80f6cff147be7aff8cac.zip
Remove net-dns hacks
-rwxr-xr-xmdns-resolver22
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,