Mohammad Issa f26c674fad Populate DNSMasq with host entries
Host DNS records must use the ".internal" domain
to configure FQDN entries with the format of <host>.internal.

Given the complexities of supporting the multi-host reconfiguration,
this task will focus on support for a simplex system only.

Since the lookup will fail after the mdns4_minimal entry
because .local is treated as a multicast domain.
Putting dns before mdns4_minimal resolves the situation.

Work Items:
- prefix the dns entry to resolve registry.local issue

Testing:
- build successful
- succesfully bring up AIO-SX and AIO-DX
- ensure changes only apply on AIO-SX
- ping system host's new aliases (with and without ".internal")
  -> also with manual removal of mgmt entries from /etc/hosts
- ensure all mgmt interfaces are up
- ping registry.local

Story: 2010722
Task: 48296

Change-Id: Ic7ffa6790dfa49867c4efb246b4707cdb7d10cb3
Signed-off-by: Mohammad Issa <mohammad.issa@windriver.com>
2023-06-29 21:06:15 +00:00

21 lines
532 B
Plaintext

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: files
group: files
shadow: files
gshadow: files
hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis