📄 changelog
字号:
Without this, it would be possible to cause BIND to, in effect, lookup invalidaddresses. This is allowed by BIND because CNAME's are used, and the CNAMEvalue can be anything. Record collision checking is carried out to ensure thatthere are no existing records within the DNAME domain, and that no DNAME orCNAME record exists of the same name.84) For static zones any $GENERATE records are now displayed if all the recordsare to be shown. These are shown as record type '$GEN'. Whilst this does speedup the reading of large zones, this is only a short-term fix for dealing withthis directive.83) Previously when deleting a zone, and the forward/reverse records are to bedeleted as well, no account was taken of the zones SOA serial number. As such,for date-based serial numbers, it would be very easy to exceed the limit of 100changes per day. We now not only take care of dynamic zones, and use nsupdateto remove the record, but we check that the serial number is indeed updateable.For any record or zone which we cannot modify, the record is ignored. It is,thus, very much up to the administrator to ensure that all forward/reverserecords are deleted from the relevant zones. All that webmin can do in thissituation is provide some help by deleting those records to which it does haveaccess.82) Journal files are no longer deleted via the main (index) page. The user mayhave configured a dynamic zone to be static, but not have reloaded named yet.As such the journal file could contain record changes which would be lost ifthe file was deleted. At present journal files are only deleted when a zone orview is deleted, because the zone file itself will be removed. It is,therefore, up to the user to ensure that any remaining journal files aredeleted.81) If a user creates an IPv4 or IPv6 address record, or a PTR record, whichalready exists, an error message is now displayed. This occurs if the domainname AND the IP address already exist in a record. Previously the record wouldhave been created, resulting in two records which were identical. I can thinkof no use for this at all. If only the TTL changed then the forward and reverserecords were not updated, this now occurs (to the existing forward/reverserecord and to any created record). Similarly, specifying that a forward/reverserecord is to be automatically created, but it already exists, will not resultin a new record. The old record will be updated instead (see point 24 below).80) When creating a master zone, or setting the global zone defaults, a defaultTTL value for the zones records can now be set. This value is placed at the topof the zone file in a $TTL directive.79) As before, if there are too many zones to display then a search box isdisplayed instead. However, it is now possible to find the root zone simply byentering the word 'root' or 'hint'. Just hitting the search button, with notext being entered, will return all the zones. The search pattern is also nowtrimmed before being used.78) Allowed remote servers to execute the 'rndc reconfig' command. When a zoneis created or deleted then the remote server, and the local one, will need touse 'reconfig' rather than 'reload'. For the local server a 'reconfig' will bedone for new zones even if the 'reload' button is used. Enabled logging towebmin of the rndc commands executed. Added a button to the index page to flushthe local name server cache. Merged the reload_slave.cgi file intorndc_cmd.cgi.77) Modified the code creating zone types. Zones are now created using the moregeneric address match list subroutines. This allows, for example, forward zonesto be created with specific ports and/or a master port specified, and creatinga master zone it is possible to specify a port that the slave should use. Thisalso avoids us having to open/edit/close the named.conf file since the zone isadded using the tidier 'save_directive'. Examples: '10.0.0.1 port 97' IP address using port 97 'port 103' Default port number (103) to useEach entry should be added per-line, but it is possible to enter them all onone line.76) Added a per-user ACL specifying that the forward/reverse zone, whenmodifying an A/AAAA/PTR record, must be updateable by the user. The requirementwas that when an A/AAAA/PTR record was being modified then the relevantforward/reverse zone MUST exist AND be updateable by the user. An example wouldbe a site not using private addresses (RFC 1918), and as such they do not wantanyone entering, for example, a 10/8 address into a DNS record. It is alreadypossible to specify that the reverse/forward zone must exist. It is alsopossible to specify that the user may not edit a given zone, but any attempt toupdate the zone, via automatically updating the forward/reverse record, iscurrently silently ignored. In the above example this would lead to invaliddata being added to the DNS. This new option ensures that all the relevantzones are updateable, even if the user selects not to update thereverse/forward zone when modifying a record. By default users are not requiredto be able to update the forward/reverse zone. Wildcard records do not updatethe forward/reverse zone, but the user will still be checked to ensure thatthey can update the zone if this option is set. This option is not checked whena zone is being deleted.75) Reworked the record sort code. It is now possible to sort on specificrecord attributes - for example, the priority value of MX records. (The codefor this was present in the BIND8 module but it didn't work.) The use of anumeric or lexical sort is determined by the attribute being sorted. Not allattributes can be sorted - for example, the email address in RP records.Reverse zone records are now correctly sorted - previously only PTR recordswere sorted by their IP address, but in a reverse zone all the record typesshould be sorted by the address. IPv6 addresses, both forward and reverse, canbe sorted.74) Added a per-user ACL allowing or disallowing the user to create or deletetop-level sub-domains. That is, such as 'www.finance.example.com'. The userwill be restricted to whether they can create or delete the sub-domain'finance'. They will be able to change other attributes of the record, forexample, the TTL value or whatever data is associated with the record. As belowthere is an option to restrict the user to only creating or deleting sub-domainnames from the master zone. There is also an option to allow or disallow theuser to create or delete sub-domains at the second-level or below, but theycannot create or delete top-level sub-domains. This allows an administrator tolet users create and delete sub-domains as they wish but only within theexisting top-level sub-domains within the organisation. By default users cancreate and delete any sub-domain names.73) Added a per-user ACL allowing or disallowing the user to create or deletetop-level names within zones. That is, names such as 'www'. Users can modify anexisting record, but can/cannot change its name. So, for example, they cannotchange the name of 'fred.abc.example.com' to 'www.example.com'. Likewise theycan/cannot change the name of 'www.example.com' to 'www2.example.com'. NS andDNAME record labels are not considered as zone top-level names, and as such arenot checked. An option to allow names to only be created within master zoneshas been included. This will prevent users using slave update forwarding tocreate top-level names when the owner of the zone master does not want that tohappen. By default users are allowed to create and delete top-level domainnames.72) Added ability to sort records on record type. This is only avilable whenall the records in the zone are being shown.71) Changed options for the global 'Miscellaneous' section. Removed obsoleteoptions for multiple CNAME's; fetch glue records; AA bit set for non-existantdomains - this was only required for old software. Added options to provideminimal responses; ability to blackhole sites; set BIND version string; setentropy device for DNSSEC; enable zone statistics; set the maximum cache andnegative caching TTL values. The 'statistics-interval' option has been greyed-out since it is currently not supported. However, the documentation impliesthat it may be supported at a later version, so the code has been left in.70) Added options to the global 'Other DNS name servers' - Added option forEDNS, and options to provide and/or request IXFR. Added 'Default' buttons tothe options to allow them to be 'unconfigured'. Currently each server can onlyuse one key but the code is present to cater for multiple keys (it onlyrequires commenting out the error message produced when multiple keys areselected).69) Where necessary old keys will be displayed. That is, keys which weredefined but have now been removed, but whose names are still present in certainoptions. The user cannot select to use these keys, but they will have theoption to remove them - usually via a checkbox.68) In the global 'Zone Defaults' options the 'Allow transfers' option has beenmoved to the 'Forwarding and Zone Transfers' options, and the 'Allow queries'option has been moved to the 'Miscellaneous' options. This seems to make a bitmore sense since 'Zone Defaults' should only set defaults for new zones,whereas the above options apply to all zones. So changing them would affect allzones and not just any new ones - that seemed at bit risky. These options canbe set per zone within the 'Edit Zone Options' section.67) When configuring a key the secret must be supplied.66) The use of the 'Can apply zone and named changes - only to zone' ACL optionis only available with BIND 9.1 and above. The rndc program of previousversions did not support the reloading of individual zones.65) Modified the address input and output code. This is now mainly handled asan 'address match list', with specific options where only IP addresses areallowed. Generally this should mean the user can enter either an IP address -version 4 or 6, an IP subnet, an ACL name or one of the reserved words. The useof the '!' symbol is also supported.64) Empty zones will display a message at the top to indicate that something ispossibly wrong. For dynamic zones, new slave or stub zones, or zones with no'file' option, this could indicate the zone transfer has failed.63) Added options to the global 'Control Interface' options - Added support torecognise keys, and enabled recognition of the instances where all IPv4 (*) orall IPv6 (::) interfaces are to be used. Also enabled support for disabling thecontrol interface (which is not the same as letting it default because thatenables the interface). If no keys have been defined then the user can onlydisable the interface or allow it to default. If the interface is disabled thenthe named status on the index page will state this.62) Added options to the global 'Ports and Addresses' options - Added the'listen-on-v6' and 'query-source-v6' options, and enabled both this option andthe 'query-source' option to take '*' as a value meaning 'any' for the addressand/or port.61) Added options to the global 'Forwarding and Zone Transfers' options - Added'max-transfer-time-out', 'max-transfer-idle-in', 'max-transfer-idle-out','max-transfers-out', 'notify', 'also-notify', 'provide-ixfr' and 'request-ixfr'options. The notify options have been removed from the global 'Zone Defaults'settings.60) Added the named.conf 'directory' option to the 'Files and Directories'global options. This option was set when creating new zones, but it was notpossible to modify it.59) Removed 'named-xfer' named.conf option - it no longer exists at BIND 9.58) Modified the 'zone directory' options and code because it was a littleconfusing - to me anyway! There are 3 possible settings. The webmin user ACLcan set, and restrict, the user to one specific directory - all new zones mustbe in this directory, and the user may be restricted solely to that directory.By default this directory is the root. Secondly, the module configuration canset the directory for the master/hint and/or slave/stub zone files. As suchthis must be either the same as or a sub-directory of the directory set in theusers ACL. Finally, the named.conf file may specify a 'directory' option toindicate the default working directory of named. If this is set and the zonefile pathname begins with the working directory, then only the shortened nameis stored in named.conf (this seems to be pretty much what admins who use'directory' do anyway). Previously it was possible to use different settingssuch that it was impossible to create and/or save zones because the differentsettings would conflict with each other. To help with all of this the indexpage will check the ACL setting and any specified zone directories to ensurethe latter are a sub-directory of the ACL setting. Creating and saving zoneoptions will, of course, check all this as well.57) Combined some of the work below so that the user is presented with a moreconsistent interface regardless of the zone. Forward zones are the exceptionbecause they have no records to display. All (most?) of the other icons, linksand buttons are either active, in-active or greyed out depending on the accessrights the user has.56) Slave zones now recognise the 'allow-update-forwarding' option. As suchthey will be recognised as dynamic zones. Master zones with the 'update-policy'option will also now be recognised as dynamic. However, we only check to see ifa 'grant' policy is present - this is no guarantee that the local host canactually update the zone! When converting to or from a slave or master zone,all the 'update' type options will be removed from the zone section.55) Master, slave and stub zones now include an 'ALL' records link; previouslyonly master zones did this. The link also includes the (read-only) SOA record.I'm not sure why the SOA record was especially left out. Changing the SOArecord must still be done through the master zone's 'zone parameters' link.Unknown record types will also appear in the ALL section, but as read-only.54) Slave and stub zones can be configured with no 'file' option. As suchslaves read their zones by zone transfer, and stub zones read the specific NS,SOA and A or AAAA records. Changing a zone from using a file to one that doesnot use a file will NOT cause the old zone file to be deleted. The reason isthat the file will be in use up to the point that the zone changes areapplied - but that might never happen if the user changes their mind!
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -