Configuring DNS

Use the rsw-manage-network script if you need to make changes to the DNS configuration after installation.
  1. View list of options for the script:
    rsw-manage-network --help
  2. Determine if DNS is enabled on the system in the /etc/nsswitch.conf file:
    rsw-manage-network dns-is-enabled
  3. If DNS is currently enabled, you can use the following command to disable DNS on the system and apply the necessary changes to the IRIS Focus related services, such the coredns service running in Kubernetes:
    rsw-manage-network dns-disable
  4. If DNS is currently disabled, and the /etc/resolv.conf file contains the IP address of DNS name servers, you can use the following command to enable DNS and apply the necessary changes to the IRIS Focus related services, such as the coredns service running in Kubernetes:
    rsw-manage-network dns-enable
  5. If you have manually modified the DNS configuration, use the following command to apply your changes to the coredns service running in Kubernetes. If you have enabled DNS, this will update the coredns configmap so that it uses the name servers listed in /etc/resolv.conf when it needs to forward a request. If you have disabled the DNS, this command will remove any forwarding entries from the coredns configuration:
    rsw-manage-network dns-apply