difference in between my nameserver and mainly used nameserver...
Kevin Darcy
kcd at daimlerchrysler.com
Thu Jun 7 20:46:35 UTC 2001
The SOA numeric fields are only used for controlling master/slave
replication, and for establishing the "negative caching TTL" of records in
the zone. They don't affect how long names in the zone stay in other
nameserver's caches after they have been learnt. The TTL values on each
record (either set explicitly or via the default established by the
$TTL directive) govern how long the record is cached. A TTL (or $TTL) of 5
seconds, by the way, is very rude and anti-social. You are making every
nameserver that needs to resolve names in your zone work much too hard. At
the very least, just set the low TTL on your A records -- there's no need to
set the TTL so low on records that aren't changing frequently, such as your
SOA and NS records.
The bottom line here is that if you have a server that you want to be
reachable consistently, it should have a static address. Stop mooching off
everyone else's nameserver resources by setting ridiculously short cache
expiration times. Be a good net citizen.
- Kevin
¾ÈÀº¼® wrote:
> Hello!
> I am making a dynamic updating tool.
> It just for ADSL , cable, telephone line.....
> What I want to do is to make update records(domain name and IP pair) to
> be effective quicly in the most popular name servers(ns.kornet.net).
> I heard and read It can be achieved by managing SOA recoeds such as ttl.
> refresh...
> So, I changed SOA records like this:
> ===============================
> $TTL 5
> @ IN SOA ns1.thenewland.com. webmaster.thenewland.com. (
> 7 ; Serial
> 3600 ; refresh
> 600 ; retry
> 604801 ; expire
> 10000 ) ; ttl
>
> ; NS Record : name server resource recode
>
> IN NS ns1.thenewland.com.
> IN NS ns2.thenewland.com.
>
> $ORIGIN com.
> thenewland IN A 211.107.23.196
>
> $ORIGIN thenewland.com.
> localhost IN A 127.0.0.1
> ns1 IN A 211.107.23.194
> ns2 IN A 211.107.23.195
> www IN A 211.107.23.196
> db IN A 211.107.23.197
> mail IN A 211.107.23.196
> seulbi 1 IN A 211.107.23.190
>
> ...
> =====================
>
> and restarted my named .
>
> Than ran dig.
>
> Dig result in host use my name name server is :
> ========================================
> [root at ns1 named]# dig thenewland.com. soa
>
> ; <<>> DiG 8.2 <<>> thenewland.com. soa
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
> ;; QUERY SECTION:
> ;; thenewland.com, type = SOA, class = IN
>
> ;; ANSWER SECTION:
> thenewland.com. 5S IN SOA ns1.thenewland.com.
> webmaster.thenewland.com. (
> 7 ; serial
> 1H ; refresh
> 10M ; retry
> 1w1s ; expiry
> 2h46m40s ) ; minimum
>
> ;; AUTHORITY SECTION:
> thenewland.com. 5S IN NS ns1.thenewland.com.
> thenewland.com. 5S IN NS ns2.thenewland.com.
>
> ;; ADDITIONAL SECTION:
> ns1.thenewland.com. 5S IN A 211.107.23.194
> ns2.thenewland.com. 5S IN A 211.107.23.195
>
> ;; Total query time: 1 msec
> ;; FROM: ns1 to SERVER: default -- 211.107.23.194
> ;; WHEN: Thu Jun 7 21:30:04 2001
> ;; MSG SIZE sent: 32 rcvd: 146
> =================================================
>
> And
> Dig result in host use (most popular name server) ns.kornet.net is :
> ==================================================
> [esan at db esan]$ dig thenewland.com. soa
>
> ; <<>> DiG 8.2 <<>> thenewland.com. soa
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
> ;; QUERY SECTION:
> ;; thenewland.com, type = SOA, class = IN
>
> ;; ANSWER SECTION:
> thenewland.com. 7S IN SOA ns1.thenewland.com.
> webmaster.thenewland.com. (
> 285 ; serial
> 3H ; refresh
> 1H ; retry
> 1W ; expiry
> 10S ) ; minimum
>
> ;; AUTHORITY SECTION:
> thenewland.com. 1d12h47m1s IN NS ns1.thenewland.com.
> thenewland.com. 1d12h47m1s IN NS NS2.thenewland.com.
>
> ;; ADDITIONAL SECTION:
> ns1.thenewland.com. 1d12h47m1s IN A 211.107.23.194
> NS2.thenewland.com. 1d12h47m1s IN A 211.107.23.195
>
> ;; Total query time: 13 msec
> ;; FROM: db to SERVER: default -- 168.126.63.1
> ;; WHEN: Thu Jun 7 21:34:38 2001
> ;; MSG SIZE sent: 32 rcvd: 146
> ============================================================
> I know this records is what I set before someday.
>
> AND
> The problem is I can not make the difference of SOA record
> between my domain name server (ns1.thenewland.com.) and mainly userd name
> server (ns.kornet.net) same.
>
> If any one know about this bloody problem, please let me know.
> Even couple of hint or comment will be helpful.
> I am very desperate.
> If I can not solve this problem .........
>
> previously thank you...
More information about the bind-users
mailing list