Local DNS management module (NodeLocalDNS)

In the Shturval platform, the local DNS management module provides the system for resolving DNS names within the cluster. You can manage records that contain the mapping between domain names and IP addresses of objects in your cluster. To do this, in the platform’s graphical interface:

  • In the cluster graphical interface, in the side menu, open the Services and repositories section and go to the Installed services page.
  • Find the local DNS control module (shturval-caching-dns) and open the module management page.
  • Add or change the recording service parameters using config of the NodeLocaldns service.
Customvalues example
config:
  zones:
    .:<your DNS port value>:
      plugins:
        hosts:
          entries:
            - ip: <your-parameter-value>
              name: <your-parameter-value>
          fallthrough: <your-parameter-value> 
ParameterDescriptionData typeExample
entries.ipIP address to which the domain name needs to be associatedstring111.111.12.11
entries.nameDomain name of the component in the clusterstringexamplename.domain.tld
fallthroughA sign that the DNS server is searching for a record in the next zone if it is not found in the current onebooleantrue
  • When the specification setting is completed, select the update mode “Automatic” if the mode is set to “Manual” and save the changes made.

You must wait some time until the changes in the shturval-caching-dns service configuration are successfully applied.