vmsnet.networks.tcp-ip.multinet
[Top] [All Lists]

Re: Problem with Multinet cluster service names.

Subject: Re: Problem with Multinet cluster service names.
From: Jim <mckinneyj@xxxxxxxx>
Date: Tue, 15 Jul 2008 08:07:28 -0700 (PDT)
Newsgroups: vmsnet.networks.tcp-ip.multinet

On Jul 15, 1:00 am, Malcolm Dunnett <noth...@xxxxxxxxxxxxxxxxx> wrote:
> Jim wrote:
> > On Jul 14, 2:51 pm, Jim <mckinn...@xxxxxxxx> wrote:
>
> > It appears that a "$ttl n" directive in your zone master file, where n
> > is an integer (I've tried as low a 1), will permit you to control the
> > TTL on the A RRs.
>
> Doesn't seem to work for me:
>
>    ------ zone file -----------
>
> $ttl 1
> @       1s      IN      SOA     malvm9.viu.ca.     Postmaster.viu.ca. (
>                                          2008070602      ; Serial
>                                          7200    ; refresh every 2 hours
>                                          3600    ; retry every hour
>                                          12096000 ; expire in twenty weeks
>                                          1s) ; maximum NXDOMAIN cache
>
>                  IN      NS      malvm3.viu.ca.
>                  IN      NS      malvm9.viu.ca.
>
> @               IN      A       142.25.103.73
> @               IN      A       142.25.103.71
>
>    I restart the server:
>
> MALVM9> mu netcon domain restart
> Connected to NETCONTROL server on "LOCALHOST"
> < malvm9.mala.bc.ca Network Control V5.2(10) at Mon 14-Jul-2008 9:55PM-PDT
> < Shutting Down Nameserver
> < Nameserver Shut Down
> < Starting Nameserver
> < Nameserver Started, process id 34600CBD
>
>    And do a lookup:
>
> MALVM9> mu nslook vmscluster.mala.bc.ca localhost /debug
> ;; res_nmkquery(QUERY, 1.0.0.127.in-addr.arpa, IN, PTR)
> ------------
> Got answer:
>      HEADER:
>          opcode = QUERY, id = 756, rcode = NOERROR
>          header flags:  response, auth. answer, want recursion,
> recursion avail.
>          questions = 1,  answers = 1,  authority records = 1,
> additional = 1
>
>      QUESTIONS:
>          1.0.0.127.in-addr.arpa, type = PTR, class = IN
>      ANSWERS:
>      ->  1.0.0.127.in-addr.arpa
>          name = LOCALHOST
>          ttl = 86400 (1D)
>      AUTHORITY RECORDS:
>      ->  0.0.127.in-addr.arpa
>          nameserver = LOCALHOST
>          ttl = 604800 (1W)
>      ADDITIONAL RECORDS:
>      ->  LOCALHOST
>          internet address = 127.0.0.1
>          ttl = 86400 (1D)
>
> ------------
> Server:  LOCALHOST
> Address:  127.0.0.1
>
> ;; res_nmkquery(QUERY, VMSCLUSTER.MALA.BC.CA, IN, A)
> ------------
> Got answer:
>      HEADER:
>          opcode = QUERY, id = 757, rcode = NOERROR
>          header flags:  response, auth. answer, want recursion,
> recursion avail.
>          questions = 1,  answers = 2,  authority records = 0,
> additional = 0
>
>      QUESTIONS:
>          VMSCLUSTER.MALA.BC.CA, type = A, class = IN
>      ANSWERS:
>      ->  VMSCLUSTER.MALA.BC.CA
>          internet address = 142.25.103.71
>          ttl = 300 (5M)
>      ->  VMSCLUSTER.MALA.BC.CA
>          internet address = 142.25.103.73
>          ttl = 300 (5M)
>
> ------------
> Name:    VMSCLUSTER.MALA.BC.CA
> Addresses:  142.25.103.71, 142.25.103.73
>
> TTL still says 5 minutes. What did I do wrong?

My config where the TTL on the A records are reported as 1S is similar
to yours - if you changed your

> $ttl 1
> @       1s      IN      SOA     malvm9.viu.ca.     Postmaster.viu.ca. (
>                                          2008070602      ; Serial
>                                          7200    ; refresh every 2 hours
>                                          3600    ; retry every hour
>                                          12096000 ; expire in twenty weeks
>                                          1s) ; maximum NXDOMAIN cache

to the following it would mimic mine.

$ttl 1
@       604800      IN      SOA     malvm9.viu.ca.
Postmaster.viu.ca. (
                                          2008070602      ; Serial
                                          7200    ; refresh every 2
hours
                                          3600    ; retry every hour
                                          12096000 ; expire in twenty
weeks
                                          300) ; maximum NXDOMAIN
cache


<Prev in Thread] Current Thread [Next in Thread>