Changeset 751


Ignore:
Timestamp:
06/01/17 16:36:44 (7 years ago)
Author:
Kris Deugau
Message:

/trunk

SQL definition updates in dns.sql and dns-upd-1.4.1.sql:

  • Update IANA RR type list
  • Add new ALIAS pseudotype mainly for "CNAME at domain root" support
  • Add new column on records table required by new pseudotype
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dns-upd-1.4.1.sql

    r750 r751  
     1-- Update formally known types from https://www.iana.org/assignments/dns-parameters/
     2COPY rectypes (val, name, stdflag, listorder, alphaorder) FROM stdin;
     352      TLSA    5       255     255
     453      SMIMEA  5       255     255
     556      NINFO   5       255     255
     657      RKEY    5       255     255
     758      TALINK  5       255     255
     859      CDS     5       255     255
     960      CDNSKEY 5       255     255
     1061      OPENPGPKEY      5       255     255
     1162      CSYNC   5       255     255
     12104     NID     5       255     255
     13105     L32     5       255     255
     14106     L64     5       255     255
     15107     LP      5       255     255
     16108     EUI48   5       255     255
     17109     EUI64   5       255     255
     18255     *       5       255     255
     19256     URI     5       255     255
     20257     CAA     5       255     255
     21258     AVC     5       255     255
     22\.
     23
    124-- Add a new pseudotype instead of overloading CNAME handling
    225COPY rectypes (val, name, stdflag, listorder, alphaorder) FROM stdin;
    32665300   ALIAS   2       16      255
    427\.
     28
     29-- And add a place to cache some data for the new type
     30ALTER TABLE records ADD COLUMN auxdata text;
     31
     32-- Update dbversion
     33UPDATE misc SET value='1.4.1' WHERE key='dbversion';
  • trunk/dns.sql

    r739 r751  
    191191    stamp TIMESTAMP WITH TIME ZONE DEFAULT 'epoch' NOT NULL,
    192192    expires boolean DEFAULT 'n' NOT NULL,
    193     stampactive boolean DEFAULT 'n' NOT NULL
     193    stampactive boolean DEFAULT 'n' NOT NULL,
     194    auxdata text
    194195);
    195196CREATE INDEX rec_domain_index ON records USING btree (domain_id);
     
    206207
    207208-- Types are required.  NB:  these are vaguely read-only too
    208 -- data from http://www.iana.org/assignments/dns-parameters
     209-- data from https://www.iana.org/assignments/dns-parameters
    209210COPY rectypes (val, name, stdflag, listorder, alphaorder) FROM stdin;
    2102111       A       1       1       1
     
    25926050      NSEC3   5       255     41
    26026151      NSEC3PARAM      5       255     42
     26252      TLSA    5       255     255
     26353      SMIMEA  5       255     255
    26126455      HIP     5       255     19
     26556      NINFO   5       255     255
     26657      RKEY    5       255     255
     26758      TALINK  5       255     255
     26859      CDS     5       255     255
     26960      CDNSKEY 5       255     255
     27061      OPENPGPKEY      5       255     255
     27162      CSYNC   5       255     255
    26227299      SPF     5       255     54
    263273100     UINFO   5       255     62
     
    265275102     GID     5       255     16
    266276103     UNSPEC  5       255     63
     277104     NID     5       255     255
     278105     L32     5       255     255
     279106     L64     5       255     255
     280107     LP      5       255     255
     281108     EUI48   5       255     255
     282109     EUI64   5       255     255
    267283249     TKEY    5       255     58
    268284250     TSIG    5       255     59
     
    271287253     MAILB   5       255     27
    272288254     MAILA   5       255     26
     289255     *       5       255     255
     290256     URI     5       255     255
     291257     CAA     5       255     255
     292258     AVC     5       255     255
    27329332768   TA      5       255     57
    27429432769   DLV     5       255     11
     
    28330365284   AAAA+PTR template       2       8       2
    28430465285   Delegation      2       9       2
     30565300   ALIAS   2       15      255
    285306\.
    286307
Note: See TracChangeset for help on using the changeset viewer.