0% found this document useful (0 votes)
18 views6 pages

DNF Install

The document outlines the installation and configuration of a DNS server using BIND on a system. It includes steps for setting up forward and reverse DNS zones for the domain 'fyre.ibm.com' and specifies various DNS records for OpenShift nodes. Additionally, it provides commands for testing the DNS configuration using the 'dig' utility.

Uploaded by

Palak Merothiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views6 pages

DNF Install

The document outlines the installation and configuration of a DNS server using BIND on a system. It includes steps for setting up forward and reverse DNS zones for the domain 'fyre.ibm.com' and specifies various DNS records for OpenShift nodes. Additionally, it provides commands for testing the DNS configuration using the 'dig' utility.

Uploaded by

Palak Merothiya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

dnf install -y bind bind-utils

systemctl enable --now named

vi /etc/named.conf

zone "fyre.ibm.com" IN {

type master;

file "/var/named/forward.fyre.ibm.com";

};

zone "99.30.9.in-addr.arpa" IN {

type master;

file "/var/named/reverse.fyre.ibm.com";

};
[root@c21880v1 opt]# vi /var/named/forward.fyre.ibm.com

$TTL 86400

@ IN SOA ns1.fyre.ibm.com. root.fyre.ibm.com. (

2024021101 ; Serial

3600 ; Refresh

1800 ; Retry

604800 ; Expire

86400 ) ; Minimum TTL

; Name Servers

@ IN NS ns1.fyre.ibm.com.

ns1 IN A 9.46.253.146 ; Your DNS server

; OpenShift API Endpoints

api IN A 9.30.99.150

api-int IN A 9.30.99.151

; Bootstrap Node

bootstrap IN A 9.30.99.152

; Control Plane (Master) Nodes


master-0 IN A 9.30.99.153

master-1 IN A 9.30.99.154

master-2 IN A 9.30.99.155

; Worker Nodes

worker-0 IN A 9.30.99.156

worker-1 IN A 9.30.99.157

; Wildcard for Applications

*.apps IN A 9.30.99.160

[root@c21880v1 opt]# vi /var/named/reverse.fyre.ibm.com

$TTL 86400

@ IN SOA ns1.fyre.ibm.com. root.fyre.ibm.com. (

2024021101 ; Serial

3600 ; Refresh

1800 ; Retry

604800 ; Expire
86400 ) ; Minimum TTL

; Name Servers

@ IN NS ns1.fyre.ibm.com.

; Reverse Lookup for OpenShift Nodes

$ORIGIN 99.30.9.in-addr.arpa.

150 IN PTR api.fyre.ibm.com.

151 IN PTR api-int.fyre.ibm.com.

152 IN PTR bootstrap.fyre.ibm.com.

153 IN PTR master-0.fyre.ibm.com.

154 IN PTR master-1.fyre.ibm.com.

155 IN PTR master-2.fyre.ibm.com.

156 IN PTR worker-0.fyre.ibm.com.

157 IN PTR worker-1.fyre.ibm.com.

160 IN PTR apps.fyre.ibm.com.


cat /etc/resolv.conf

ip a show

dig +noall +answer @9.46.253.146 api.fyre.ibm.com

dig +noall +answer @9.46.253.146 api-int.fyre.ibm.com

dig +noall +answer @9.46.253.146 random.apps.fyre.ibm.com

dig +noall +answer @9.46.253.146 bootstrap.fyre.ibm.com


dig +noall +answer @9.46.253.146 -x 9.30.99.150

dig +noall +answer @9.46.253.146 master-0.fyre.ibm.com

dig +noall +answer @9.46.253.146 -x 9.30.99.153

You might also like