Sponsored Content
Special Forums IP Networking DNS SOA Question in regards to @ Post 302925686 by Lost in Cyberia on Tuesday 18th of November 2014 02:08:13 PM
Old 11-18-2014
DNS SOA Question in regards to @

Okay, I have a question guys... I was given a task to set up a DNS slave server, in addition to our already set up BIND DNS master server. I looked over the one of the zone files, and found something curious. The starting SOA line, reads as:

@ IN SOA @ root ( ...etc...etc..)

I'm a bit confused as to the meaning of the @ symbols. The first @ symbol can replace the $origin term I know, but there is no $origin variable declared in the file The only thing that comes before the SOA is the TTL.

So I"m baffled as to what the @ could possibly do or if it can substituted for anything else, without explicitly saying it. Because I see no declarations in the zone file.

Any help would be appreciated! Thanks!
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Secondary DNS question

I have the primary set up, but cannot get the secondary box to answer a query. Here is the message I get: > nslookup dfwnet1 10.26.38.41 *** Can't find server name for address 10.26.38.41: Non-existent host/domain *** Default servers are not available 10.26.38.41 is the IP of the secondary... (3 Replies)
Discussion started by: 98_1LE
3 Replies

2. UNIX for Dummies Questions & Answers

DNS/BIND question, is it ze germans?

First some back ground info: I am working on a computer running SuSE 7.3 I am still trying to set up a DNS I downloaded BIND 9.2.1 and was following a tutorial about BIND. It said at virtually the start of the tutorial that I should find a file called named.conf in my /etc directory. Yes, I... (1 Reply)
Discussion started by: ignus7
1 Replies

3. IP Networking

DNS question

I manage the mail server (mail.ourcompany.com) at my company. We provide mail services to a number of clients. Today CompanyA calls in and reports that CompanyB tried to send them an email, but they never recieved it. According to CompanyB, the mail left there outbox. The two addresses... (1 Reply)
Discussion started by: phaze1
1 Replies

4. IP Networking

DNS question

The company I work for has me setting up a bind server, this part I am having no issues with my question is we host 2 web-sites on one box using virtual domains in apache. The CEO of the company want it so that he can type this in http://*****.com http://*****.net Instead of ... (7 Replies)
Discussion started by: Acleoma
7 Replies

5. IP Networking

Question on DNS/BIND

I have set up a BIND server running on Redhat AS 3.0 and the question I have is that I can point my laptop to that server and resolve all the hosts I have put in my .zone file but for the life of me I can resolve any outside information. I have verified the server can talk to the world. Any hints... (2 Replies)
Discussion started by: Acleoma
2 Replies

6. UNIX for Advanced & Expert Users

DNS Question

I am new to bind, but I have it installed and working, well I think. I am not getting any errors, but my question is. Lets say I have movie.com, and mov.com, with the same in-addr-arpa zone(10.10.0.0) Is this a problem? movie.com is our main zone and we are trying to get rid of clients that are... (7 Replies)
Discussion started by: rickyt00
7 Replies

7. UNIX for Dummies Questions & Answers

Named (DNS Name Server) question

As suggested by the forum I'm posting in, I'm very new at this, so bear with me please. I'm using a Virtual Dedicated server (Linux) from GoDaddy and using Simple Control Panel. A few days ago, the sites running off of it stopped working, and I did manage to troubleshoot it to some extent where... (1 Reply)
Discussion started by: KevenM
1 Replies

8. UNIX for Dummies Questions & Answers

DNS Question

I am trying to make a website work without having to type www. If I type www with the sitename it works. But if I type just the site name without the www, it does not work. How do I fix this? Thank you for your help (3 Replies)
Discussion started by: German Shepherd
3 Replies

9. IP Networking

DNS dummy question

Hello everyone, I have a some doubt about DNS. We have connected to 2 ISPs /ISP#1 and ISP#2/. Our web site's dns zone is located on ISP#1. If connection to ISP#1 is down clients won't find our website. ISP#1 connection went down few times this month. So we are going to create our website's... (0 Replies)
Discussion started by: sembii
0 Replies
Net::DNS::ZoneFile(3)					User Contributed Perl Documentation				     Net::DNS::ZoneFile(3)

NAME
Net::DNS::ZoneFile - DNS zone file SYNOPSIS
use Net::DNS::ZoneFile; $zonefile = new Net::DNS::ZoneFile( 'db.example' ); while ( $rr = $zonefile->read ) { $rr->print; } @zone = $zonefile->read; DESCRIPTION
Each Net::DNS::ZoneFile object instance represents a zone file together with any subordinate files nominated using $INCLUDE directives. Zone file syntax is defined by RFC1035. A program can have multiple zone file objects, each maintaining its own independent parser state information. The parser supports both the $TTL directive defined by RFC2308 and the BIND $GENERATE syntax extension. All RRs in a zone file must have the same class, which may be specified for the first RR encountered and is then propagated automatically to all subsequent records. METHODS
new $zonefile = new Net::DNS::ZoneFile( 'db.example', ['example.com'] ); Returns a Net::DNS::ZoneFile object which represents the zone file specified in the argument list. The file is opened for reading and remains open until exhausted or all references to the ZoneFile object cease to exist. The optional second argument specifies $ORIGIN for the zone file. read $rr = $zonefile->read; When invoked in scalar context, returns the next RR encountered in the zone file, or undefined if end of data has been reached. Comments and blank lines are silently disregarded. $INCLUDE, $ORIGIN, $TTL and $GENERATE directives are processed transparently. @rr = $zonefile->read; When invoked in list context, returns the list of all RR objects in the zone file. name $filename = $zonefile->name; Returns the name of the zone file from which RRs will be read. $INCLUDE directives will cause this to differ from the filename argument supplied when the object was created. line $line = $zonefile->line; Returns the line number of the last non-continuation line encountered in the current zone file. origin $origin = $zonefile->origin; Returns the fully qualified name of the current origin within the zone file. ttl $ttl = $zonefile->ttl; Returns the default TTL as specified by the $TTL directive. COMPATIBILITY WITH Net::DNS::ZoneFile 1.04 Applications which depended on the Net::DNS::ZoneFile 1.04 package will continue to operate with minimal change using compatibility interface described below. use Net::DNS::ZoneFile; $listref = Net::DNS::ZoneFile->read( $filename, $include_dir ); $listref = Net::DNS::ZoneFile->readfh( $handle, $include_dir ); $listref = Net::DNS::ZoneFile->parse( $string, $include_dir ); $listref = Net::DNS::ZoneFile->parse( $string, $include_dir ); $_->print for @$listref; The optional second argument specifies the default path for filenames. The current working directory is used by default. Although not available in the original implementation, the RR list can be obtained directly by calling in list context. @rr = Net::DNS::ZoneFile->read( $filename, $include_dir ); read $listref = Net::DNS::ZoneFile->read( $filename, $include_dir ); read() parses the specified zone file and returns a reference to the list of Net::DNS::RR objects representing the RRs in the file. The return value is undefined if the zone data can not be parsed. readfh $listref = Net::DNS::ZoneFile->readfh( $handle, $include_dir ); read() parses data from the specified file handle and returns a reference to the list of Net::DNS::RR objects representing the RRs in the file. The return value is undefined if the zone data can not be parsed. parse $listref = Net::DNS::ZoneFile->parse( $string, $include_dir ); $listref = Net::DNS::ZoneFile->parse( $string, $include_dir ); parse() interprets the argument string and returns a reference to the list of Net::DNS::RR objects representing the RRs. The return value is undefined if the zone data can not be parsed. ACKNOWLEDGEMENTS
This package is designed as an improved and compatible replacement for Net::DNS::ZoneFile 1.04 which was created by Luis Munoz in 2002 as a separate CPAN module. The present implementation is the result of an agreement to merge our two different approaches into one package integrated into Net::DNS. The contribution of Luis Munoz is gratefully acknowledged. Thanks are also due to Willem Toorop for his constructive criticism of the initial version and invaluable assistance during testing. COPYRIGHT
Copyright (c)2011-2012 Dick Franks All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
perl, Net::DNS, Net::DNS::Domain, Net::DNS::RR, RFC1035 Section 5.1, RFC2308, BIND 9 Administrator Reference Manual perl v5.16.3 2012-12-28 Net::DNS::ZoneFile(3)
All times are GMT -4. The time now is 02:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy