diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-04-13 10:42:50 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-04-13 10:43:26 +0300 |
commit | 2c9c96fda37226d9c2d4b93c9d0a24d109ec769f (patch) | |
tree | 264b1086e5deec1c884bf7bbc92fffaf0cb752bf /tinydns-edit-html.lsp | |
parent | 641bc85a72e6ae6ba5efdfa54f4a829799302a40 (diff) | |
download | acf-tinydns-2c9c96fda37226d9c2d4b93c9d0a24d109ec769f.tar.bz2 acf-tinydns-2c9c96fda37226d9c2d4b93c9d0a24d109ec769f.tar.xz |
Standalone A-entry should not be called 'Alias'. 'Alias' is generally
used for CNAME records so that would be confusing.
Diffstat (limited to 'tinydns-edit-html.lsp')
-rw-r--r-- | tinydns-edit-html.lsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinydns-edit-html.lsp b/tinydns-edit-html.lsp index 33169d5..6d83da6 100644 --- a/tinydns-edit-html.lsp +++ b/tinydns-edit-html.lsp @@ -25,7 +25,7 @@ entryTypes[1]=new Entry(".","Name server",6,"Domain","IP address","Name server","Time to live","Timestamp","Location"); entryTypes[2]=new Entry("&","Delegate subdomain",6,"Domain","IP address","Name server","Time to live","Timestamp","Location"); entryTypes[3]=new Entry("=","Host",5,"Host","IP address","Time to live","Timestamp","Location"); - entryTypes[4]=new Entry("+","Alias",5,"Alias","IP address","Time to live","Timestamp","Location"); + entryTypes[4]=new Entry("+","Host",5,"Host","IP address","Time to live","Timestamp","Location"); entryTypes[5]=new Entry("@","Mail exchanger",7,"Domain","IP address","Mail exchanger","Distance","Time to live","Timestamp","Location"); entryTypes[6]=new Entry("'","Text record",5,"Domain","Text Record","Time to live","Timestamp","Location"); entryTypes[7]=new Entry("^","Reverse record",5,"PTR","Domain name","Time to live","Timestamp","Location"); @@ -104,7 +104,7 @@ name = "dontconvertme" else { value = value.replace(/\\\d{3}/g, octal_to_char); - if (entryType.descriptions[i] == "Domain" || entryType.descriptions[i] == "Alias" || entryType.descriptions[i] == "Host" || entryType.descriptions[i] == "Domain Service" ) { + if (entryType.descriptions[i] == "Domain" || entryType.descriptions[i] == "Host" || entryType.descriptions[i] == "Domain Service" ) { name = "fixme"; value = value.replace(/\.?<%= string.gsub(html.html_escape(domain), "[\\%[%]%.%*%?%+%{%^%$]", "\\%1") %>$/i, "") extra = " . <%= html.html_escape(domain) %>" |