How to block part of a zone

King, Harold Clyde (Hal) hck at utk.edu
Tue Sep 16 16:20:34 UTC 2014


I need to block a host in an exterior domain.

Resolve all traffic for example.com from example.com¹s dns servers, but
stop badhost.example.com.
I guess I could become authoritative for badhost.example.com and point the
host to 127.0.0.1.
Does that sound like bad things would happen?

Zone ³badhost.example.com² {
	type master;
	file ³/etc/named/badhost.example.com.db²;
}

Badhost.example.com. IN SOA localhost (
		Admin.localhost
		2014091601
		3600
		900
		860000
		3600 )
	NS localhost.
	A 127.0.0.1

-- 
Hal King  - hck at utk.edu
Systems Administrator
Office of Information Technology
Shared Systems Services

The University of Tennessee
103C5 Kingston Pike Building
2309 Kingston Pk. Knoxville, TN 37996
Phone: 974-1599

/--------------------------------------\
| One Contact      865-974-9900        |
| Many Solutions   help.utk.edu        |
\--------------------------------------/





More information about the bind-users mailing list