Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
607
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. [root@localhost slaves]# cat apple.com.db nokia.com.db yahoo.com.db
  2. $ORIGIN .
  3. $TTL 86400 ; 1 day
  4. apple.com IN SOA gridmaster-ib.apple.com. hostmaster.apple.com. (
  5. 2010073743 ; serial
  6. 1800 ; refresh (30 minutes)
  7. 900 ; retry (15 minutes)
  8. 2016000 ; expire (3 weeks 2 days 8 hours)
  9. 86500 ; minimum (1 day 1 minute 40 seconds)
  10. )
  11. NS nserver.euro.apple.com.
  12. NS nserver.apple.com.
  13. NS nserver2.apple.com.
  14. NS nserver3.apple.com.
  15. NS nserver4.apple.com.
  16.  
  17.  
  18. $ORIGIN .
  19. $TTL 86400 ; 1 day
  20. nokia.com IN SOA ns.nokia.com. hostmaster.nokia.com. (
  21. 2010093158 ; serial
  22. 7200 ; refresh (2 hours)
  23. 3600 ; retry (1 hour)
  24. 1209600 ; expire (2 weeks)
  25. 1800 ; minimum (30 minutes)
  26. )
  27. NS ns.nokia.com.
  28. NS ns2.nokia.com.
  29. NS ns3.nokia.com.
  30. NS ns4.nokia.com.
  31. NS ns5.nokia.com.
  32. NS ns6.nokia.com.
  33.  
  34.  
  35.  
  36. $ORIGIN .
  37. $TTL 1800 ; 30 minutes
  38. yahoo.com IN SOA ns1.yahoo.com. hostmaster.yahoo-inc.com. (
  39. 2011012606 ; serial
  40. 3600 ; refresh (1 hour)
  41. 300 ; retry (5 minutes)
  42. 1814400 ; expire (3 weeks)
  43. 600 ; minimum (10 minutes)
  44. )
  45. $TTL 172800 ; 2 days
  46. NS ns1.yahoo.com.
  47. NS ns2.yahoo.com.
  48. NS ns3.yahoo.com.
  49. NS ns4.yahoo.com.
  50. NS ns5.yahoo.com.
  51. NS ns6.yahoo.com.
  52. NS ns8.yahoo.com.
  53. $ORIGIN yahoo.com.
  54. ns1 A 68.180.131.16
  55. ns2 A 68.142.255.16
  56. ns3 A 121.101.152.99
  57. ns4 A 68.142.196.63
  58. ns5 A 119.160.247.124
  59. ns6 A 202.43.223.170
  60. ns8 A 202.165.104.22
  61.  
  62. we can see A Records for all NS servers of yahoo.com. ||| but we don't see A Records of all NS Servers of apple and nokia when we create respective stub zones ||| why is that so?
  63.  
  64.  
  65. [root@localhost slaves]# cat /var/named/internalzones.db
  66. zone "apple.com" {
  67. type stub;
  68. masters { 17.254.0.50; };
  69. file "slaves/apple.com.db";
  70. };
  71.  
  72. zone "yahoo.com" {
  73. type stub;
  74. masters { 68.180.131.16; };
  75. file "slaves/yahoo.com.db";
  76. };
  77. zone "nokia.com" {
  78. type stub;
  79. masters { 131.228.20.19; };
  80. file "slaves/nokia.com.db";
  81. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement