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>
This commit is contained in:
Mohammad Issa 2023-06-27 18:35:58 +00:00
parent 62b1150e29
commit f26c674fad

View File

@ -9,7 +9,7 @@ group: files
shadow: files
gshadow: files
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4
networks: files
protocols: db files