Skip to content

Commit

Permalink
ftdetect, add *.zone* to filetype bind-named
Browse files Browse the repository at this point in the history
  • Loading branch information
mfilser committed Sep 24, 2021
1 parent 16a7d7e commit d305317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftdetect/bind-named.vim
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
" Remarks:
" See syntax/bind-named.vim for additional info.

au! BufNewFile,BufRead named.conf,rndc.conf,rndc.key,*-named.conf,*_named.conf,*.named.conf,named-*.conf,named_*.conf,named.*.conf,rndc-*.conf,rndc_*.conf,rndc.*.conf,rndc.key,rndc-*.key,rndc_*.key,rndc.key,mz.*,sz.*,view.*,named.conf* set filetype=bind-named
au! BufNewFile,BufRead named.conf,rndc.conf,rndc.key,*-named.conf,*_named.conf,*.named.conf,named-*.conf,named_*.conf,named.*.conf,rndc-*.conf,rndc_*.conf,rndc.*.conf,rndc.key,rndc-*.key,rndc_*.key,rndc.key,mz.*,sz.*,view.*,named.conf*,*.zone* set filetype=bind-named

This comment has been minimized.

Copy link
@egberts

egberts Aug 30, 2024

Owner

I was thinking about the old gray-beard days where the DNS records were in 127.0.0.1.zone (which did not have named.conf stuff in it, just actual DNS records).

We still use zone.* and *.zone for DNS records in /var/lib/bind9/*, also notably in /var/lib/bind9/slave/*.

Nowadays, I see increasing usage of literally filetype-less or less so in .db.

Newer ones now have .ip, .ip4, .ip6, .dlz, for DNS records.

0 comments on commit d305317

Please sign in to comment.