I am trying to point my cname to my wildcard FQDN which has multiple A-Records.
Dig Output:
;; QUESTION SECTION:
;access.domain.intra. IN A
;; ANSWER SECTION:
access.domain.intra. 3600 IN CNAME *.sub.domain.intra.
*.sub.domain.intra. 3600 IN A 192.168.1.1
*.sub.domain.intra. 3600 IN A 192.168.1.2
*.sub.domain.intra. 3600 IN A 192.168.1.3
*.sub.domain.intra. 3600 IN A 192.168.1.4
*.sub.domain.intra. 3600 IN A 192.168.1.5
on Chrome it works, but with curl, firefox, wget and ping it doesn't.
$ ping access.domain.intra
ping: access.domain.intra: System error
$ wget -v access.domain.intra
--2023-06-28 12:39:41-- http://access.domain.intra/
Resolving access.domain.intra (access.domain.intra)... failed: Success.
wget: unable to resolve host address ‘access.domain.intra’
I need to use *.sub.domain.intra to reach my cluster, but from a specific fqdn. Am I doing something wrong, or is there a better method?
I don't want to create, everytime I have a new site like access.domain.intra, 5 A Records. And I only want to update the A Records once with *.sub.domain.intra, when new nodes are added to the cluster.
Thanks!