This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$TTL 1D | |
@ IN SOA orianna.tyuiko.local. root.tyuiko.local. ( | |
0 ; serial | |
1D ; refresh | |
1H ; retry | |
1W ; expire | |
3H ) ; minimum | |
NS orianna.tyuiko.local. | |
101 IN PTR tyuiko.local. | |
101 IN PTR orianna.tyuiko.local. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$TTL 1D | |
@ IN SOA orianna.tyuiko.local. root.tyuiko.local. ( | |
0 ; serial | |
1D ; refresh | |
1H ; retry | |
1W ; expire | |
3H ) ; minimum | |
NS orianna.tyuiko.local. | |
@ IN A 192.168.137.101 | |
orianna IN A 192.168.137.101 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// named.conf | |
// | |
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS | |
// server as a caching only nameserver (as a localhost DNS resolver only). | |
// | |
// See /usr/share/doc/bind*/sample/ for example named configuration files. | |
// | |
// See the BIND Administrator's Reference Manual (ARM) for details about the | |
// configuration located in /usr/share/doc/bind-{version}/Bv9ARM.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
parser = argparse.ArgumentParser() | |
### Positional | |
parser.add_argument('positional1') | |
parser.add_argument('positional2', help="positional argument 2") | |
parser.add_argument('positional3', help="positional argument 3 type int", type=int) | |
### Optional | |
parser.add_argument("--optional1", help="optional argument 1") | |
parser.add_argument("--optional2", help="optional argument 2", action="store_true") |