-
Notifications
You must be signed in to change notification settings - Fork 2
Lab‐2: Set up temporary DNS for Microshift Application
anandpavithran edited this page Sep 13, 2024
·
8 revisions
### Find out the IPADDRESS of router pod in openshift-ingress namespace.
**[student@servera ~]$ oc get pod -o wide -n openshift-ingress
### Install dnsmasq package for DNS support.
**[student@servera ~]$ sudo dnf install dnsmasq -y**
### Append following line to /etc/dnsmasq.conf.
**[student@servera ~]$ sudo vim /etc/dnsmasq.conf**
----OUTPUT OMITTED-------- address=/apps.example.com/IPADDRESS
### Start and enable the service.
**[student@servera ~]$ sudo systemctl enable dnsmasq.service --now** (two hypens)**
### Tem.
**[student@servera ~]$ sudo systemctl enable dnsmasq.service --now** (two hypens)**