From 5fb5da5efb77f3a64586cafd80b1fbfade2fb009 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 11 Nov 2009 12:29:08 +0000 Subject: Finished support for SRV and NAPTR records. Bumped to 0.3.1 --- Makefile | 2 +- tinydns-edit-html.lsp | 6 +++--- tinydns-model.lua | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 17c8897..7fed43b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ APP_NAME=tinydns PACKAGE=acf-$(APP_NAME) -VERSION=0.3.0 +VERSION=0.3.1 APP_DIST=\ tinydns* \ diff --git a/tinydns-edit-html.lsp b/tinydns-edit-html.lsp index 4361b8f..da18048 100644 --- a/tinydns-edit-html.lsp +++ b/tinydns-edit-html.lsp @@ -33,7 +33,7 @@ entryTypes[9]=new Entry("Z","SOA record",11,"Domain","Primary name server","Contact address","Serial number","Refresh time","Retry time","Expire time","Minimum time","Time to live","Timestamp","Location"); entryTypes[10]=new Entry(":","Generic record",6,"Domain","Record type","Record data","Time to live","Timestamp","Location"); entryTypes[11]=new Entry("%","Client location",2,"Location","IP prefix"); - entryTypes[12]=new Entry("S","Service location",8,"Domain", "IP address", "X", "Port", "Weight", "Priority", "Time to live", "Timestamp"); + entryTypes[12]=new Entry("S","Service location",8,"Domain Service", "IP address", "Server", "Port", "Weight", "Priority", "Time to live", "Timestamp"); entryTypes[13]=new Entry("N","Naming authority pointer",9,"Domain", "Order", "Preference", "Flags", "Service", "Regular expression", "Replacement", "Time to live", "Timestamp"); function finishForm(entry){ @@ -74,7 +74,7 @@ } for (i=0; i' + entryType.descriptions[i] + '
$/i, "") + '" name="fixme"> . <%= html.html_escape(domain) %>
'; else form = form + '
' + entryType.descriptions[i] + '
'; @@ -132,7 +132,7 @@ $(function(){ addLinks($("#entries").find("tr")); - $("#entries").append(addEntry).find("a").click(addLine); + $("#entries").append(addEntry).find("a:last").click(addLine); $("input.submit").click(submitFile); <% if form.value.filecontent.linenumber then %> $("#entries tr:eq(<%= form.value.filecontent.linenumber - 1 %>)").find("a:eq(2)").click(); diff --git a/tinydns-model.lua b/tinydns-model.lua index 8e10466..6da055f 100644 --- a/tinydns-model.lua +++ b/tinydns-model.lua @@ -29,8 +29,8 @@ local descr = { ['Z']="SOA record (SOA)", [':']="Generic record", ['%']="Client location", - ['S']="Service location", - ['N']="Naming authority pointer", + ['S']="Service location (SRV)", + ['N']="Naming authority pointer (NAPTR)", }, fieldlabels={ ['.']={"Domain", "IP address", "Name server", "Time to live", "Timestamp", "Location", }, @@ -44,7 +44,7 @@ local descr = { ['Z']={"Domain", "Primary name server", "Contact address", "Serial number", "Refresh time", "Retry time", "Expire time", "Minimum time", "Time to live", "Timestamp", "Location",}, [':']={"Domain", "Record type", "Record data", "Time to live", "Timestamp", "Location", }, ['%']={"Location", "IP prefix", }, - ['S']={"Domain", "IP address", "X", "Port", "Weight", "Priority", "Time to live", "Timestamp", }, + ['S']={"Domain Service", "IP address", "Server", "Port", "Weight", "Priority", "Time to live", "Timestamp", }, ['N']={"Domain", "Order", "Preference", "Flags", "Service", "Regular expression", "Replacement", "Time to live", "Timestamp", }, }, } -- cgit v1.2.3