You can configure the DNS settings by using the command interface.
About this task
To configure DNS settings from the command line, you enter DNS configuration mode and enter the
required DNS commands.
Procedure
-
Connect to the IBM® MQ Appliance as described in
Command line access. Log in as an administrative user.
-
Type
config
to enter global configuration mode.
-
Type the following command to configure DNS settings:
-
Use the following DNS commands to configure the settings:
Command |
Description |
admin-state |
Sets the administrative state for the configuration. |
ip-preference |
Sets the preferred IP version when the DNS provider publishes both versions of
addresses. |
load-balance |
Sets the load-balancing algorithm that the appliance uses to resolve host names. |
name-server |
Manages local DNS providers. |
retries |
Sets the number of times that the appliance attempts a failed query. |
search-domain |
Manages domain-suffixes in the search table for non-qualified domain names. |
static-host |
Manages host-address maps. |
timeout |
Sets the time to wait before the next query attempt. |
-
After you configure the DNS settings, enter exit
-
Enter
write memory
to save the updated configuration.