Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #?samba config
- # Global parameters
- [global]
- dns forwarder = 4.2.2.1
- netbios name = SAMBA-AD1
- realm = CHASN.xLAB.COM
- server role = active directory domain controller
- workgroup = CHASN
- vfs objects = acl_xattr
- map acl inherit = yes
- store dos attributes = yes
- idmap_ldb:use rfc2307 = yes
- [netlogon]
- path = /var/lib/samba/sysvol/chasn.xlab.com/scripts
- read only = No
- [sysvol]
- path = /var/lib/samba/sysvol
- read only = No
- # pdns.conf
- setuid=pdns
- setgid=pdns
- launch=bind
- launch=gmysql
- gmysql-host=localhost
- gmysql-user=powerdns
- gmysql-password=chupwrdb!123
- gmysql-dbname=powerdns
- netstat -tulpn |grep 53
- tcp 0 0 0.0.0.0:49153 0.0.0.0:* LISTEN 12677/samba
- tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 10484/pdns_server
- tcp6 0 0 :::49153 :::* LISTEN 12677/samba
- tcp6 0 0 :::53 :::* LISTEN 12692/samba
- udp 0 0 0.0.0.0:53 0.0.0.0:* 10484/pdns_server
- udp6 0 0 :::53 :::* 12692/samba
- #
- dig @127.0.0.1
- ; <<>> DiG 9.9.4-RedHat-9.9.4-61.el7_5.1 <<>> @127.0.0.1
- ; (1 server found)
- ;; global options: +cmd
- ;; Got answer:
- ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 49689
- ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
- ;; WARNING: recursion requested but not available
- ;; OPT PSEUDOSECTION:
- ; EDNS: version: 0, flags:; udp: 1680
- ;; QUESTION SECTION:
- ;. IN NS
- ;; Query time: 3 msec
- ;; SERVER: 127.0.0.1#53(127.0.0.1)
- ;; WHEN: Wed Dec 12 09:39:05 EST 2018
- ;; MSG SIZE rcvd: 28
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement