Ubuntu HPC DNS setup on compute node

From Notes_Wiki
Revision as of 04:04, 23 February 2023 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > Ubuntu > HPC setup with openpbs and openmpi > DNS setup on compute node

To configure correct DNS settings on compute node use:

  1. First test DNS resolution via master using:
    nslookup node<n>.<private-zone> <master-private-ip>
  2. Then configure appropriate DNS and search domain using:
    resolvectl domain <private-interface> <private-zone>
    resolvectl dns <private-interface> <master-private-ip>
  3. Test by using:
    ping master
    ping node<n>
  4. Resolvectl based settings don't persist after reboot. For persistent settings launch following as root user:
    sudo nm-connection-editor
    and change appropriate interface DNS and search settings using the editor.
  5. Optionally, Reboot the node and validate DNS and domain settings are coming properly after reboot.


Home > Ubuntu > HPC setup with openpbs and openmpi > DNS setup on compute node