It is mandatory to keep the localhost entry in resolve.conf file. The different services like dispatcher.service.consul, nomad.service.consul, consul.service.consul need to be resolved by DNS. Otherwise ABIS will throw some errors for example in the dispatcher log like this:

2024-01-17 12:32:46.512 E [] [temp-1] c.i.eafis.idkit.IDKitWrapperBase IDKit (type=service; server=dispatcher.service.consul:21233;) error SOAP_FAILED occured but AfisMQ will retry in PT1S: com.innovatrics.idkit.IDKitException: IDKit error 1212 : SOAP communication failed. (connection
string='type=service; server=dispatcher.service.consul:21233;') (this message occurs at most once per PT60S)

There should be the following entry in /etc/resolv.conf for ABIS:
[afisadm@adel-demoabis-1c ~]$ cat /etc/resolv.conf
# Generated by NetworkManager

To avoid Network Manager making changes in above configuration file, there must be done additional configuration:

  • NM_CONTROLLED=no inserted in the interface config file:

[root@innovatrics-srv-tst-001 eafis]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Generated by parse-kickstart

  • edit network config and add PEERDNS=no

[root@innovatrics-srv-tst-001 eafis]# cat /etc/sysconfig/network
# Created by anaconda

  • add this parameter to the NetworkManager.conf:

[root@innovatrics-srv-tst-001 eafis]# cat /etc/NetworkManager/NetworkManager.conf|grep dns

  • issue the following commands:

systemctl restart network
systemctl restart NetworkManager

  • test it:

[root@innovatrics-srv-tst-001 eafis]# ping dispatcher.service.consul
PING dispatcher.service.consul ( 56(84) bytes of data.
64 bytes from innovatrics-srv-tst-001.c.valid-bio.internal ( icmp_seq=1 ttl=64 time=0.012 ms

Relevant ABIS version: 7.x - 8.x