You are not logged in.

#1 2019-06-04 01:15:24

brianbaligad
Member
Registered: 2013-08-12
Posts: 22

[Solved] Will systemd-resolved expand nested subdomains? (Answer: No.)

I have some nested subdomains like:

  • web01.nyc01.example.com

  • mail01.atl01.example.com

I've found that systemd-resolved won't expand these nested domains:

$ host web01.nyc01
Host web01.nyc01 not found: 3(NXDOMAIN)
$ host www
www.example.com has address N.N.N.N

I could just rename them all to top level subdomains like web01-nyc01.example.com, but out of curiosity can systemd-resolved be coerced to expand nested subdomains?

# resolvectl --version
systemd 242 (242.29-1-arch)
+PAM +AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid

Last edited by brianbaligad (2019-06-04 18:50:42)

Offline

#2 2019-06-04 10:57:13

sabroad
Member
Registered: 2015-05-24
Posts: 242

Re: [Solved] Will systemd-resolved expand nested subdomains? (Answer: No.)

This is an explicit design decision
https://github.com/systemd/systemd/issu … -264995354


--
saint_abroad

Offline

Board footer

Powered by FluxBB