Symptoms:
sebuildla -e adds domain suffix in ladb when there are domains in /etc/resolv.conf file
Sebuildla –e option : Create hosts look-aside database excluding the DNS
Environment:
OS : RHEL
PIM : 12.5 and higher
Workaround:
Domain suffix is not added in ladb with sebuildla –a command.
[[email protected] ~]# sebuildla -a
CA ControlMinder: Creating users look-aside database.
CA ControlMinder: Creating hosts look-aside database using DNS.
CA ControlMinder: Creating services look-aside database.
CA ControlMinder: Creating groups look-aside database.
[[email protected] ~]# sebuildla -H
List of hosts in LADB:
localhost ::1
test 1.1.1.1
localhost 127.0.0.1
When I use sebuildla –e command, domain suffix is added in ladb.
[[email protected] ~]# sebuildla -e
CA ControlMinder: Creating only local hosts look-aside database.
[[email protected] ~]# sebuildla -H
List of hosts in LADB:
localhost ::1
test.ca.com 1.1.1.1
localhost.ca.com 127.0.0.1
To avoid adding domain suffix, you can use sebuildla –a –l options.
-l option : load database only from list file
dbmgr -dump -r l HOST > <PIM install Dir>/ladb/hostlist
sebuildla -h -l