Re: MX freebsd

2005-11-26 Thread Greg Maruszeczka
Glenn Dawson wrote:
 At 04:53 PM 11/25/2005, Beecher Rintoul wrote:
 
 On Friday 25 November 2005 03:43 pm, Francisco Reyes wrote:
  dick hoogendijk writes:
   Any idea how long it takes until the MX freebsd mailservers know that
   my mail relay has changed? It's three days ago now that I changed
 my MX
   records and still mail for nagual.st is routed to my old mx
   mailservers.
  
  dig nagual.st mx
 
  ;;; QUESTION SECTION:
  ;nagual.st. IN  MX
 
  ;; ANSWER SECTION:
  nagual.st.  86400   IN  MX  10 mx1.mailhop.org.
  nagual.st.  86400   IN  MX  20 mx2.mailhop.org.
 
  bc
 
  86400/3600
  24
 
 
  Should only take a day based on the results above.
 
  The command to see your XM settings is
  dig url mx

 Did you update the serial number when you changed the MX record?
 Servers downline will not see the changes otherwise.
 
 
 Actually, the serial number is only used by the slave servers for a
 particular zone to decide whether or not a zone transfer is needed.
 

I don't think that's entirely true. The serial number is also used by
named internally to determine whether to reload your zones, and hence,
to make the actual change in memory. AFAIK if you don't update the
serial number the change won't take effect.

To confirm this I just ran `rndc reload` and then checked
/var/log/messages on my closest available OBSD name server. Reloaded
named.conf but NOT my zone files. Then I changed the serial on one of my
primary zone files and ran `rndc reload` again. This time syslog records
that both named.conf and that zone have been reloaded.

Of course, the serial number change ALSO signals to slaves that they
need to update their copies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MX freebsd

2005-11-26 Thread dick hoogendijk
On Sat, 26 Nov 2005 09:58:22 -0800
Greg Maruszeczka [EMAIL PROTECTED] wrote:

 Glenn Dawson wrote:

  Actually, the serial number is only used by the slave servers for a
  particular zone to decide whether or not a zone transfer is needed.
 
 I don't think that's entirely true. The serial number is also used by
 named internally to determine whether to reload your zones, and hence,
 to make the actual change in memory. AFAIK if you don't update the
 serial number the change won't take effect.

 Of course, the serial number change ALSO signals to slaves that they
 need to update their copies.

Just to let you all know it all worked out OK.
And, yes, sure I did update the serial numbers in the zonefiles.
I always do that after (how minor) a change..

Thanks everyone for thinking along.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 +++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MX freebsd

2005-11-26 Thread Glenn Dawson

At 09:58 AM 11/26/2005, Greg Maruszeczka wrote:

Glenn Dawson wrote:
 At 04:53 PM 11/25/2005, Beecher Rintoul wrote:

 On Friday 25 November 2005 03:43 pm, Francisco Reyes wrote:
  dick hoogendijk writes:
   Any idea how long it takes until the MX freebsd mailservers know that
   my mail relay has changed? It's three days ago now that I changed
 my MX
   records and still mail for nagual.st is routed to my old mx
   mailservers.
  
  dig nagual.st mx
 
  ;;; QUESTION SECTION:
  ;nagual.st. IN  MX
 
  ;; ANSWER SECTION:
  nagual.st.  86400   IN  MX  10 mx1.mailhop.org.
  nagual.st.  86400   IN  MX  20 mx2.mailhop.org.
 
  bc
 
  86400/3600
  24
 
 
  Should only take a day based on the results above.
 
  The command to see your XM settings is
  dig url mx

 Did you update the serial number when you changed the MX record?
 Servers downline will not see the changes otherwise.


 Actually, the serial number is only used by the slave servers for a
 particular zone to decide whether or not a zone transfer is needed.


I don't think that's entirely true. The serial number is also used by
named internally to determine whether to reload your zones, and hence,
to make the actual change in memory. AFAIK if you don't update the
serial number the change won't take effect.

To confirm this I just ran `rndc reload` and then checked
/var/log/messages on my closest available OBSD name server. Reloaded
named.conf but NOT my zone files. Then I changed the serial on one of my
primary zone files and ran `rndc reload` again. This time syslog records
that both named.conf and that zone have been reloaded.


Did you actually make a change to one of the zone files? or did you 
just look at logs?


If you make a change to one of the zone files without changing the 
serial number, and then do rndc reload, the changes will be reflected 
in queries sent to that named process.


To quote the fourth edition of DNS and BIND page 432:

When you reload the primary, it loads the updated zone file 
regardless of whether you've changed the serial number.


-Glenn



Of course, the serial number change ALSO signals to slaves that they
need to update their copies.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MX freebsd

2005-11-26 Thread Greg Maruszeczka

Glenn Dawson wrote:

At 09:58 AM 11/26/2005, Greg Maruszeczka wrote:


Glenn Dawson wrote:
 At 04:53 PM 11/25/2005, Beecher Rintoul wrote:

 On Friday 25 November 2005 03:43 pm, Francisco Reyes wrote:
  dick hoogendijk writes:
   Any idea how long it takes until the MX freebsd mailservers 
know that

   my mail relay has changed? It's three days ago now that I changed
 my MX
   records and still mail for nagual.st is routed to my old mx
   mailservers.
  
  dig nagual.st mx
 
  ;;; QUESTION SECTION:
  ;nagual.st. IN  MX
 
  ;; ANSWER SECTION:
  nagual.st.  86400   IN  MX  10 mx1.mailhop.org.
  nagual.st.  86400   IN  MX  20 mx2.mailhop.org.
 
  bc
 
  86400/3600
  24
 
 
  Should only take a day based on the results above.
 
  The command to see your XM settings is
  dig url mx

 Did you update the serial number when you changed the MX record?
 Servers downline will not see the changes otherwise.


 Actually, the serial number is only used by the slave servers for a
 particular zone to decide whether or not a zone transfer is needed.


I don't think that's entirely true. The serial number is also used by
named internally to determine whether to reload your zones, and hence,
to make the actual change in memory. AFAIK if you don't update the
serial number the change won't take effect.

To confirm this I just ran `rndc reload` and then checked
/var/log/messages on my closest available OBSD name server. Reloaded
named.conf but NOT my zone files. Then I changed the serial on one of my
primary zone files and ran `rndc reload` again. This time syslog records
that both named.conf and that zone have been reloaded.



Did you actually make a change to one of the zone files? or did you just 
look at logs?


If you make a change to one of the zone files without changing the 
serial number, and then do rndc reload, the changes will be reflected in 
queries sent to that named process.


To quote the fourth edition of DNS and BIND page 432:

When you reload the primary, it loads the updated zone file regardless 
of whether you've changed the serial number.




I stand corrected. Thanks for the clarification and reference.

G
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MX freebsd

2005-11-25 Thread Francisco Reyes

dick hoogendijk writes:


Any idea how long it takes until the MX freebsd mailservers know that
my mail relay has changed? It's three days ago now that I changed my MX
records and still mail for nagual.st is routed to my old mx
mailservers. 



dig nagual.st mx


;;; QUESTION SECTION:
;nagual.st. IN  MX

;; ANSWER SECTION:
nagual.st.  86400   IN  MX  10 mx1.mailhop.org.
nagual.st.  86400   IN  MX  20 mx2.mailhop.org.


bc

86400/3600
24


Should only take a day based on the results above.

The command to see your XM settings is
dig url mx 
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MX freebsd

2005-11-25 Thread Beecher Rintoul
On Friday 25 November 2005 03:43 pm, Francisco Reyes wrote:
 dick hoogendijk writes:
  Any idea how long it takes until the MX freebsd mailservers know that
  my mail relay has changed? It's three days ago now that I changed my MX
  records and still mail for nagual.st is routed to my old mx
  mailservers.
 
 dig nagual.st mx

 ;;; QUESTION SECTION:
 ;nagual.st. IN  MX

 ;; ANSWER SECTION:
 nagual.st.  86400   IN  MX  10 mx1.mailhop.org.
 nagual.st.  86400   IN  MX  20 mx2.mailhop.org.

 bc

 86400/3600
 24


 Should only take a day based on the results above.

 The command to see your XM settings is
 dig url mx

Did you update the serial number when you changed the MX record?
Servers downline will not see the changes otherwise.

Beech

---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgpVj8HCfBY2O.pgp
Description: PGP signature


Re: MX freebsd

2005-11-25 Thread Glenn Dawson

At 04:53 PM 11/25/2005, Beecher Rintoul wrote:

On Friday 25 November 2005 03:43 pm, Francisco Reyes wrote:
 dick hoogendijk writes:
  Any idea how long it takes until the MX freebsd mailservers know that
  my mail relay has changed? It's three days ago now that I changed my MX
  records and still mail for nagual.st is routed to my old mx
  mailservers.
 
 dig nagual.st mx

 ;;; QUESTION SECTION:
 ;nagual.st. IN  MX

 ;; ANSWER SECTION:
 nagual.st.  86400   IN  MX  10 mx1.mailhop.org.
 nagual.st.  86400   IN  MX  20 mx2.mailhop.org.

 bc

 86400/3600
 24


 Should only take a day based on the results above.

 The command to see your XM settings is
 dig url mx

Did you update the serial number when you changed the MX record?
Servers downline will not see the changes otherwise.


Actually, the serial number is only used by the slave servers for a 
particular zone to decide whether or not a zone transfer is needed.


-Glenn



Beech

---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \
---














___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: MX freebsd

2005-11-25 Thread Steve Bertrand

 Any idea how long it takes until the MX freebsd mailservers 
 know that my mail relay has changed? It's three days ago now 
 that I changed my MX records and still mail for nagual.st is 
 routed to my old mx mailservers. Mail arrives (luckely) 
 because those servers are still operational, but...(?) When 
 are the dns servers for the freebsd mailservers updated?

Here's what I have, a near full output. Are all your name servers
running on dynamic DNS? Could the lookups be coming from a stale DNS
cache?

What are the results that you are looking for? What are the results that
are incorrect? Have you done a dig against all your nameservers to
ensure they are all accurate? Are you running an MX cluster? Are your
secondary DNS servers reflecting the same records as the primar(ies)?

ie:

# dig @myprimary.dns.server mx mydomain.com
# dig @mysecondary.dns.server mx mydomain.com
# dig @mythird.dns.server mx mydomain.com
# ..3..4...and 5

At minimum, we need to know the original (old) IP, and the proper (new)
IP of your MX records:

pearl# dig mx nagual.st

;  DiG 8.3  mx nagual.st 
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 53494
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 11
;; QUERY SECTION:
;;  nagual.st, type = MX, class = IN

;; ANSWER SECTION:
nagual.st.  1D IN MX10 mx1.mailhop.org.
nagual.st.  1D IN MX20 mx2.mailhop.org.

;; AUTHORITY SECTION:
nagual.st.  1D IN NSns2.mydyndns.org.
nagual.st.  1D IN NSns3.mydyndns.org.
nagual.st.  1D IN NSns4.mydyndns.org.
nagual.st.  1D IN NSns5.mydyndns.org.
nagual.st.  1D IN NSns1.nagual.st.

;; ADDITIONAL SECTION:
mx1.mailhop.org.1H IN A 63.208.196.176
mx1.mailhop.org.1H IN A 63.208.196.175
mx2.mailhop.org.1H IN A 204.13.250.92
mx2.mailhop.org.1H IN A 204.13.249.91
mx2.mailhop.org.1H IN A 204.13.249.92
mx2.mailhop.org.1H IN A 204.13.250.91
ns2.mydyndns.org.   21h2m56s IN A   204.13.249.82
ns3.mydyndns.org.   10h26m41s IN A  63.209.15.211
ns4.mydyndns.org.   10h26m41s IN A  213.155.150.206
ns5.mydyndns.org.   9h14m46s IN A   63.208.196.93
ns1.nagual.st.  1D IN A 82.74.2.186

 
 --
 dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
 ++ Running FreeBSD 6.0 ++ The Power to Serve
 + Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MX freebsd

2005-11-20 Thread dick hoogendijk
Any idea how long it takes until the MX freebsd mailservers know that
my mail relay has changed? It's three days ago now that I changed my MX
records and still mail for nagual.st is routed to my old mx
mailservers. Mail arrives (luckely) because those servers are still
operational, but...(?) When are the dns servers for the freebsd
mailservers updated?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 ++ The Power to Serve
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MX freebsd

2005-11-20 Thread Bill Moran
dick hoogendijk [EMAIL PROTECTED] wrote:

 Any idea how long it takes until the MX freebsd mailservers know that
 my mail relay has changed? It's three days ago now that I changed my MX
 records and still mail for nagual.st is routed to my old mx
 mailservers. Mail arrives (luckely) because those servers are still
 operational, but...(?) When are the dns servers for the freebsd
 mailservers updated?

Depends on how your DNS was set up.  _Your_ DNS records include information
about how long it is OK to cache DNS records.

I've seen these timeouts occasionally set as high as a week, although even
larger values are certainly possible.  Check in your DNS zone to see what
they are set to.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MX freebsd

2005-11-20 Thread Alex Zbyslaw

Bill Moran wrote:


dick hoogendijk [EMAIL PROTECTED] wrote:

 


Any idea how long it takes until the MX freebsd mailservers know that
my mail relay has changed? It's three days ago now that I changed my MX
records and still mail for nagual.st is routed to my old mx
mailservers. Mail arrives (luckely) because those servers are still
operational, but...(?) When are the dns servers for the freebsd
mailservers updated?
   



Depends on how your DNS was set up.  _Your_ DNS records include information
about how long it is OK to cache DNS records.
 

And don't forget to update the Serial on your DNS source file otherwise 
nothing will notice the change.


--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]