Advertisement
Guest User

DNS

a guest
Sep 24th, 2013
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. Bind9 is unable to resolve hostnames in my domain [ns.ehb.local] (Host is unreachable).
  2. Forwarding to other DNS Servers however works fine.
  3.  
  4. My /etc/bind/named.conf.local:
  5.  
  6. zone "ehb.local" {
  7. master;
  8. file "/etc/bind/db.ehb.local";
  9. };
  10.  
  11. zone "234.168.192.in-addr.arpa" {
  12. master;
  13. file "/etc/bind/db.192";
  14. };
  15.  
  16. My /etc/bind/db.ehb.local:
  17.  
  18. ;
  19. ; BIND data file for ehb.local
  20. ;
  21. $TLL 604800
  22. @ IN SAO ehb.local. root.ehb.local. (
  23. 2 ; Serial
  24. 604800 ; Refresh
  25. 86400 ; Retry
  26. 2419200 ; Expire
  27. 604800 ) ; Negative Cache TTL
  28. IN A 192.168.234.10
  29. ;
  30. @ IN NS ns.ehb.local.
  31. @ IN A 192.168.234.10
  32. @ IN AAAA ::1
  33. ns IN A 192.168.234.10
  34.  
  35.  
  36. My /etc/bind/db.192:
  37.  
  38. ;
  39. ; BIND reverse data file for local 192.168.234.XXX net
  40. ;
  41. $TLL 604800
  42. @ IN SAO ehb.local. root.ehb.local. (
  43. 2 ; Serial
  44. 604800 ; Refresh
  45. 86400 ; Retry
  46. 2419200 ; Expire
  47. 604800 ) ; Negative Cache TTL
  48. ;
  49. @ IN NS ns.
  50. 10 IN PTR ns.ehb.local.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement