Please follow the below template, it will help us to help you!
Expected Behaviour:
dnsmasq.d is not working to add wildcards
router dhcp ------ rasppi dns ------- vm ---- openshift
root@raspberrypi:/etc/dnsmasq.d# cat 99-openshift.conf
address=/api.ex280.example.local/192.168.129.152
address=/.apps.ex280.example.local/192.168.129.152
Actual Behaviour:
vi 99-openshift.conf
root@raspberrypi:/etc/dnsmasq.d# service pihole-FTL restart
root@raspberrypi:/etc/dnsmasq.d# systemctl status pihole-FTL.service
● pihole-FTL.service - Pi-hole FTL
Loaded: loaded (/etc/systemd/system/pihole-FTL.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2024-03-21 19:31:33 -03; 4s ago
Process: 3607 ExecStartPre=/opt/pihole/pihole-FTL-prestart.sh (code=exited, status=0/SUCCESS)
Main PID: 3620 (pihole-FTL)
Tasks: 22 (limit: 2062)
CGroup: /system.slice/pihole-FTL.service
├─3620 /usr/bin/pihole-FTL -f
├─3639 /usr/bin/pihole-FTL -f
├─3640 /usr/bin/pihole-FTL -f
└─3641 /usr/bin/pihole-FTL -f
Mar 21 19:31:33 raspberrypi pihole-FTL[3620]: [2024-03-21 19:31:33.504 3620M] PIHOLE_PTR: internal PTR generation enab
Mar 21 19:31:33 raspberrypi pihole-FTL[3620]: [2024-03-21 19:31:33.504 3620M] ADDR2LINE: Enabled
Mar 21 19:31:33 raspberrypi pihole-FTL[3620]: [2024-03-21 19:31:33.504 3620M] REPLY_WHEN_BUSY: Drop queries when the d
Mar 21 19:31:33 raspberrypi pihole-FTL[3620]: [2024-03-21 19:31:33.504 3620M] BLOCK_TTL: 2 seconds
Mar 21 19:31:33 raspberrypi pihole-FTL[3620]: [2024-03-21 19:31:33.504 3620M] BLOCK_ICLOUD_PR: Enabled
Mar 21 19:31:33 raspberrypi pihole-FTL[3620]: [2024-03-21 19:31:33.504 3620M] CHECK_LOAD: Enabled
Mar 21 19:31:33 raspberrypi pihole-FTL[3620]: [2024-03-21 19:31:33.504 3620M] CHECK_SHMEM: Warning if shared-memory us
Mar 21 19:31:33 raspberrypi pihole-FTL[3620]: [2024-03-21 19:31:33.504 3620M] CHECK_DISK: Warning if certain disk usag
Mar 21 19:31:33 raspberrypi pihole-FTL[3620]: [2024-03-21 19:31:33.505 3620M] Finished config file parsing
Mar 21 19:31:33 raspberrypi pihole-FTL[3620]: [2024-03-21 19:31:33.5
but anything get resolved:
❯ dig +short -x 192.168.129.152
❯ ping https://console-openshift-console.apps.ex280.example.local/
ping: https://console-openshift-console.apps.ex280.example.local/: Name or service not known
❯ ping console-openshift-console.apps.ex280.example.local
ping: console-openshift-console.apps.ex280.example.local: Temporary failure in name resolution