I have a Centos 7 minimum install VM and I want to install the bind rpm's so I can enable the nslookup. I don't have internet access because it's an secure network so no yum commands. thanks
$ cat db.example.com $TTL 86400 ; (1 day) $ORIGIN example.com. @ IN SOA ns.example.com. admin.example.com. ( 2015042601 ; serial YYYYMMDDnn 14400 ; refresh (4 hours) 1800 ; retry (30 minutes) 1209600 ; expire (2 weeks) 3600 ) ; minimum (1 hour) @ IN NS ns.example.com. ns IN A 192.168.1.7 localhost IN A 127.0.0.1 sql IN A 192.168.1.100 ftp IN A 192.168.1.101
$ cat db.192.168.1 $TTL 86400 ; (1 day) $ORIGIN 1.168.192.in-addr.arpa. @ IN SOA ns.example.com. admin.example.com. ( 2015042601 ; serial YYYYMMDDnn 14400 ; refresh (4 hours) 1800 ; retry (30 minutes) 1209600 ; expire (2 weeks) 3600 ) ; minimum (1 hour) @ IN NS ns.example.com. 7 IN PTR ns.example.com. 100 IN PTR sql.example.com. 101 IN PTR ftp.example.com.
$ cat /etc/resolv.conf search example.com nameserver 192.168.1.7
$ nslookup linuxquestions.org Server: 192.168.1.7 Address: 192.168.1.7#53 Non-authoritative answer: Name: linuxquestions.org Address: 75.126.162.205 $ nslookup example.com Server: 192.168.1.7 Address: 192.168.1.7#53 *** Can't find example.com: No answer
$ nslookup example.com Server: 192.168.1.7 Address: 192.168.1.7#53 Non-authoritative answer: Name: example.com Address: 93.184.216.34