Browse Source

first commit

master
Celestino Rey 1 year ago
commit
ffedaabc8b
3 changed files with 69 additions and 0 deletions
  1. +9
    -0
      named.conf.local
  2. +23
    -0
      zones/db.192.168.1
  3. +37
    -0
      zones/db.reymota.lab

+ 9
- 0
named.conf.local View File

@ -0,0 +1,9 @@
zone "reymota.lab" {
type master;
file "/etc/named/zones/db.reymota.lab"; # zone file path
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/named/zones/db.192.168.1"; # 192.168.1.0/24 subnet
};

+ 23
- 0
zones/db.192.168.1 View File

@ -0,0 +1,23 @@
$TTL 604800
@ IN SOA openshift-services.reymota.lab. admin.reymota.lab. (
6 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ; Negative Cache TTL
)
; name servers - NS records
IN NS openshift-services.reymota.lab.
; name servers - PTR records
210 IN PTR openshift-services.reymota.lab.
; OpenShift Container Platform Cluster - PTR records
200 IN PTR pve.reymota.lab.
120 IN PTR openshift-control-plane.ocp-cluster.reymota.lab.
120 IN PTR api.ocp-cluster.reymota.lab.
120 IN PTR api-int.ocp-cluster.reymota.lab.
120 IN PTR ocp-cluster
134 IN PTR imac
147 IN PTR k8s-server

+ 37
- 0
zones/db.reymota.lab View File

@ -0,0 +1,37 @@
$TTL 604800
@ IN SOA openshift-services.reymota.lab. admin.home.lab. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ; Negative Cache TTL
)
; name servers - NS records
IN NS openshift-services
; name servers - A records
openshift-services.reymota.lab. IN A 192.168.1.210
; OpenShift Container Platform Cluster - A records
pve.reymota.lab. IN A 192.168.1.200
openshift-control-plane.ocp-cluster.reymota.lab. IN A 192.168.1.120
ocp-cluster IN A 192.168.1.120
imac IN A 192.168.1.134
k8s-server IN A 192.168.1.147
; OpenShift internal cluster IPs - A records
api.ocp-cluster.reymota.lab. IN A 192.168.1.120
api-int.ocp-cluster.reymota.lab. IN A 192.168.1.120
*.apps.ocp-cluster.reymota.lab. IN A 192.168.1.120
etcd-0.ocp-cluster.reymota.lab. IN A 192.168.1.120
etcd-1.ocp-cluster.reymota.lab. IN A 192.168.1.120
etcd-2.ocp-cluster.reymota.lab. IN A 192.168.1.120
console-openshift-console.apps.ocp-cluster.reymota.lab. IN A 192.168.1.120
oauth-openshift.apps.ocp-cluster.reymota.lab. IN A 192.168.1.120
; OpenShift internal cluster IPs - SRV records
_etcd-server-ssl._tcp.ocp-cluster.reymota.lab. 86400 IN SRV 0 10 2380 etcd-0.lab
_etcd-server-ssl._tcp.ocp-cluster.reymota.lab. 86400 IN SRV 0 10 2380 etcd-1.lab
_etcd-server-ssl._tcp.ocp-cluster.reymota.lab. 86400 IN SRV 0 10 2380 etcd-2.lab

Loading…
Cancel
Save