- Targetting for a 192.168.1.0/24 network.
- DNS server is 192.168.1.3.
- IPv4 example only.
Feel free to adjust as desired.
Install required modules:
sudo yum install bind bind-utilsPrepare directory to store your DNS zone information:
sudo chmod 755 /etc/namedEdit BIND's root configuration:
sudo mkdir /etc/named/zones
sudo vi /etc/named.confWith the following adjustments:
...
options {
listen-on port 53 { 127.0.0.1; 192.168.1.3; };
listen-on-v6 port 53 { ::1; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; 192.168.1.0/24; }
...
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
include "/etc/named/named.conf.inside";
Create your new custom named configuration file:
sudo vi /etc/named/named.conf.insideSet the following contents:
zone "dns" {
type master;
file "/etc/named/zones/db.inside";
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "/etc/named/zones/db.1.168.192";
};
Create your inside zone file:
sudo vi /etc/named/zones/db.insideSet the following contents and add your custom domains:
$TTL 864000Create your inside reverse zone file:
@ N SOA dns.inside. root.inside (
3 ; Serial
864000 ; Refresh
86400 ; Retry
2592000 ; Expire
864000 ; Negative Cache TTL
)
; Name servers (NS).
@ IN NS dns.inside.
; Local servers.
dns.inside. IN A 192.168.1.3
test1.inside. IN A 192.168.1.10
test2.inside. IN A 192.168.1.11
sudo vi /etc/named/zones/db.1.168.192
Set the following contents (adjust accordingly based on settings set in your db.inside file):
$TTL 864000Configure BIND for IPv4 only by opening the following file:
@ N SOA dns.inside. root.inside (
3 ; Serial
864000 ; Refresh
86400 ; Retry
2592000 ; Expire
864000 ; Negative Cache TTL
)
; Name servers (NS).
@ NS dns.inside.
; Local servers.
3 IN PTR dns.inside.
10 IN PTR test1.inside.
11 IN PTR test2.inside.
sudo vi /etc/sysconfig/namedAnd adding the following line at the bottom:
OPTIONS="-4"Allow DNS through your local firewall:
sudo firewall-cmd --zone=public --add-service=dns --permanentRestart BIND:
sudo firewall-cmd --reload
sudo systemctl restart named(optional) Troubleshoot by invoking the following:
sudo tail -f /var/log/messages
Test by invoking the any of the following commands:
dig dns.inside @192.168.1.3
nslookup dns.inside 192.168.1.3
4 comments:
Casinos Near Casinos & Casinos - Mapyro
Casinos with 경상북도 출장마사지 Casinos 포항 출장안마 Near Casinos Near Casinos in Illinois Casinos 상주 출장안마 Near Me · 1. Barstool Casino | Near Me · 2. Hollywood 안산 출장샵 Casino in 고양 출장마사지 Joliet | Near Me · 3. Horseshoe Casino
Skill activities may embrace darts, bowling and pool tournaments. However, "on line casino nights" don't normally embrace activities based on the result result} of a player's talent, however quite the luck of the draw or another chance event. Each state determines sort of|what kind of} gambling it permits inside its borders, where the gambling can be situated, and who may gamble. Each state has enacted totally different laws pertaining to these matters. The states even have differing authorized gambling ages, with some states requiring the same minimal age each type|for all sorts} of gambling, while for others, it is dependent upon by} the exercise. For example, in New Jersey, an 18-year-old should buy a lottery ticket or guess on a horse race, however can't enter a 바카라사이트 on line casino till age 21.
In fabrication, abrasion is done in a controlled manner which gradually removes excess material Aquarium Heater from the workpiece. Planing is a machining course of that removes excess material by moving a cutting device in opposition to a stationary stock in a reciprocating movement. This course of is used for flattening or creating straight contours on the surface of a large workpiece. This course of removes material utilizing a rotating cutting device with multiple of} cutting tips. Face milling has the cutting tips oriented on one aspect of the cutter. Peripheral milling, the opposite hand|however|then again}, has the cutting tips oriented radially outward alongside the round fringe of the cutter.
At the eleventh hour of a marathon session, lawmakers handed Massachusetts sports betting in August 2022. The law permits online sports betting and retail betting within the state, however doesn't designate a launch day. Reports 퍼스트카지노 point out late 2022 or even early 2023 most likely going} for MA sports betting websites to go live. By licensing varied casinos and sportsbooks, the KGC generates nice deal of|quite so much of|a substantial amount of} income for the Mohawk community of Kahnawake. The KGC was heavily opposed to any attempts to legalize single-game betting outcome of} their worry of being cut out of the image if provinces decided to manage and license sportsbooks. Canada’s fifth-most populous province added single-game wagering to its online choices on August 27, 2021.
Post a Comment