Re: What does one call name server registration?

2009-07-16 Thread Derek Ragona

At 04:52 AM 7/15/2009, Michael David Crawford wrote:

Hi,

I'm having a problem making myself clear to my domain name registrar's 
tech support.


I have set up djbdns on a couple of my own servers, and want them 
registered AS name servers with whoever handles such registration.


Most registrars allow one to just enter their hostnames and IPs and they 
take care of it automagically.


But my once-beloved registrar HJ Linnen just outsourced all their 
registration services to NameScout, and they haven't got a clue.


When I looked into it in my account page at NameScout, they said to email 
tech support, so I did.


And tech support replied with the end-user instructions for assigning name 
servers to the domains one has registered with them.  That's not what I want.


What I have are two pairs in the following format:

  1.2.3.4 a.ns.example.com
  5.6.7.8 b.ns.example.com

I would like a domain to be able to set its name servers to be 
a.ns.example.com and b.ns.example.com, and then when that domain is 
resolved the lookup is delegated to either 1.2.3.4 or 5.6.7.8.


What is the process called, of registering such name servers?  If I can 
tell NameScout support to do that for me, possibly they can get themselves 
a clue on my behalf.


Thanks!

Mike
--
Michael David Crawford
m...@prgmr.com

   prgmr.com - We Don't Assume You Are Stupid.

  Xen-Powered Virtual Private Servers: http://prgmr.com/xen


Nameservers are designated PER domain.  You tell the registrar for a 
particular domain that your authoritative nameservers are at whatever fully 
qualified domain name and IP address.


Prior to doing this with your registrar you should have the domain zone 
file properly setup on those nameservers.


Hope this helps.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: What does one call name server registration?

2009-07-15 Thread Al Plant

Michael David Crawford wrote:

Hi,

I'm having a problem making myself clear to my domain name registrar's 
tech support.


I have set up djbdns on a couple of my own servers, and want them 
registered AS name servers with whoever handles such registration.


Most registrars allow one to just enter their hostnames and IPs and they 
take care of it automagically.


But my once-beloved registrar HJ Linnen just outsourced all their 
registration services to NameScout, and they haven't got a clue.


When I looked into it in my account page at NameScout, they said to 
email tech support, so I did.


And tech support replied with the end-user instructions for assigning 
name servers to the domains one has registered with them.  That's not 
what I want.


What I have are two pairs in the following format:

  1.2.3.4 a.ns.example.com
  5.6.7.8 b.ns.example.com

I would like a domain to be able to set its name servers to be 
a.ns.example.com and b.ns.example.com, and then when that domain is 
resolved the lookup is delegated to either 1.2.3.4 or 5.6.7.8.


What is the process called, of registering such name servers?  If I can 
tell NameScout support to do that for me, possibly they can get 
themselves a clue on my behalf.


Thanks!

Mike

###


Aloha,

You can use Dotster to register any server right from the web-interface. 
No people no nothing to deal with. Doesn't your registrar have that service?


--

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
  < email: n...@hdk5.net >
"All that's really worth doing is what we do for others."- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: What does one call name server registration?

2009-07-15 Thread Jon Radel

Michael David Crawford wrote:


Valentin and Olivier,

Thank you very much for your kind help.

I think what I needed were *both* NS and GLUE records.  The NS record 
establishes a host as a nameserver, and the GLUE record allows the name 
server's own domain name to be within the domain it is the name server 
for - that is, GLUE records prevent infinite loops when looking up the 
domain it is a part of.


Yes and no.

Glue records make it possible to find the the NS in the first place; 
you're avoiding a broken chain rather than any risk of loops.




zone for example.com

mydomainIN  NS  ns.mydomain.example.com.



zone for mydomain.example.com

IN  NS  ns.mydomain.example.com.
ns  IN  A   123.123.123.123



If you have the above, you've properly delegated the 
mydomain.example.com zone to ns.mydomain.example.com, but you'll never 
reach anything in that zone, as the only A record for the server is in 
the zone you're trying to find the server for, and you have no idea 
where that server is...


So you have to put a

ns.mydomain.example.com.IN  A   123.123.123.123

record in the example.com zone so that recursive lookups can find that 
one critical address and access the mydomain zone.  That's the glue record.



--

--Jon Radel
j...@radel.com


smime.p7s
Description: S/MIME Cryptographic Signature


Re: What does one call name server registration?

2009-07-15 Thread Michael David Crawford

Valentin and Olivier,

Thank you very much for your kind help.

I think what I needed were *both* NS and GLUE records.  The NS record 
establishes a host as a nameserver, and the GLUE record allows the name 
server's own domain name to be within the domain it is the name server 
for - that is, GLUE records prevent infinite loops when looking up the 
domain it is a part of.


I found a page in NameScout's Help section that said that if I just 
enter a totally new name server into my domain admin, they would take 
care of registering it automatically.  That seems to have worked, but it 
was not at all obvious that that's what I needed to do.


They also don't have any kind of automated interface for changing the 
name server info - one has to email tech support to do that.


I could see it causing a lot of trouble, if confused users enter 
incorrect info, and NameScout interprets that as a request to establish 
NS and GLUE records for a new name server!


Clearly, I myself have a lot of studying to do.

The Wikipedia article on the Domain Name System is very helpful, for 
anyone else wanting info on this topic.


Mike
--
Michael David Crawford
m...@prgmr.com

   prgmr.com - We Don't Assume You Are Stupid.

  Xen-Powered Virtual Private Servers: http://prgmr.com/xen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: What does one call name server registration?

2009-07-15 Thread Valentin Bud
On Wed, Jul 15, 2009 at 12:52 PM, Michael David Crawford wrote:

> Hi,
>
> I'm having a problem making myself clear to my domain name registrar's tech
> support.
>
> I have set up djbdns on a couple of my own servers, and want them
> registered AS name servers with whoever handles such registration.
>
> Most registrars allow one to just enter their hostnames and IPs and they
> take care of it automagically.
>
> But my once-beloved registrar HJ Linnen just outsourced all their
> registration services to NameScout, and they haven't got a clue.
>
> When I looked into it in my account page at NameScout, they said to email
> tech support, so I did.
>
> And tech support replied with the end-user instructions for assigning name
> servers to the domains one has registered with them.  That's not what I
> want.
>
> What I have are two pairs in the following format:
>
>  1.2.3.4 a.ns.example.com
>  5.6.7.8 b.ns.example.com
>
> I would like a domain to be able to set its name servers to be
> a.ns.example.com and b.ns.example.com, and then when that domain is
> resolved the lookup is delegated to either 1.2.3.4 or 5.6.7.8.
>
> What is the process called, of registering such name servers?  If I can
> tell NameScout support to do that for me, possibly they can get themselves a
> clue on my behalf.
>
> Thanks!
>
> Mike
> --
> Michael David Crawford
> m...@prgmr.com
>
>   prgmr.com - We Don't Assume You Are Stupid.
>
>  Xen-Powered Virtual Private Servers: http://prgmr.com/xen
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>

Hello Mike,

 Just to point it out what i understand from your post is that you want the
NSs to
authoritative for your domain (example.com). So when someone queries for
xyz.example.com
your servers (a.ns.example OR b.ns.example.com) answer that query.

 Lets suppose the following example:
You have 2 server that you want to enable BIND (or whatever DNS application)
so they
are authoritative for example.com.
Server A - 1.2.3.4 - ns.A.example.com
Server B - 5.6.7.8 - ns.B.example.com

 First when you register a domain you must point a NS for that domain. So
when you register
example.com you will assign ns.A.example.com (and B) as NSs for that
particular domain.
Now if the NS for one domain has the name of the domain in it (sort of
speak, excuse my
non-tech language) as ns.A.*example.com* does you need a so called GLUE
record for
those NSs. There you point out the IP add of the NS in question.

Hope I understood right what you want and that my post helps you.

a great day,
v
-- 
network warrior since 2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: What does one call name server registration?

2009-07-15 Thread Olivier Nicole
Hi Mike,

> What I have are two pairs in the following format:
> 
>1.2.3.4 a.ns.example.com
>5.6.7.8 b.ns.example.com

I think that what you are looking for is what is called NS reccord for
the domain ns.example.com

Good luck,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


What does one call name server registration?

2009-07-15 Thread Michael David Crawford

Hi,

I'm having a problem making myself clear to my domain name registrar's 
tech support.


I have set up djbdns on a couple of my own servers, and want them 
registered AS name servers with whoever handles such registration.


Most registrars allow one to just enter their hostnames and IPs and they 
take care of it automagically.


But my once-beloved registrar HJ Linnen just outsourced all their 
registration services to NameScout, and they haven't got a clue.


When I looked into it in my account page at NameScout, they said to 
email tech support, so I did.


And tech support replied with the end-user instructions for assigning 
name servers to the domains one has registered with them.  That's not 
what I want.


What I have are two pairs in the following format:

  1.2.3.4 a.ns.example.com
  5.6.7.8 b.ns.example.com

I would like a domain to be able to set its name servers to be 
a.ns.example.com and b.ns.example.com, and then when that domain is 
resolved the lookup is delegated to either 1.2.3.4 or 5.6.7.8.


What is the process called, of registering such name servers?  If I can 
tell NameScout support to do that for me, possibly they can get 
themselves a clue on my behalf.


Thanks!

Mike
--
Michael David Crawford
m...@prgmr.com

   prgmr.com - We Don't Assume You Are Stupid.

  Xen-Powered Virtual Private Servers: http://prgmr.com/xen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


bind 9 caching only name server best practice.

2008-09-02 Thread Troy Beisigl

Hi,

I'm looking for some information on what the best way to run a bind 9  
caching name server on FreeBSD 6.3 +. Basically, configurations and  
kernel tweaks on the FreeBSD side of things for memory and performance  
is what I am looking for. The actual Bind compile and configuration I  
understand. Does anyone have any insight on this they would like to  
share?


Thanks,

-Troy



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


Re: name server

2008-01-28 Thread Wojciech Puchar

I am using the name server in freebsd 6.1
there are 2G memory but top is only using
Mem: 207M Active, 420M Inact, 185M Wired, 112M Buf, 1158M Free

How can I increase the box performance used for name server only?
I want to use most of memory in cache name server


i don't think it will be any noticable difference between this box and 
pentium-100 with 64MB RAM ;)


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


Re: name server

2008-01-28 Thread Bill Moran
In response to chloe K <[EMAIL PROTECTED]>:

> Hi all
> 
> I am using the name server in freebsd 6.1
> there are 2G memory but top is only using
> Mem: 207M Active, 420M Inact, 185M Wired, 112M Buf, 1158M Free
> 
> How can I increase the box performance used for name server only?
> I want to use most of memory in cache name server

What makes you think it needs any more memory?  A caching nameserver isn't
a terribly memory-intensive unit.  In the past, I've run quite peppy
systems on a few hundred megs of RAM.

I expect the 207M is all the system actually needs.  Even if you figure
1K per entry, that's still 200,000 names it has cached.

-- 
Bill Moran
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]"


name server

2008-01-28 Thread chloe K
Hi all

I am using the name server in freebsd 6.1
there are 2G memory but top is only using
Mem: 207M Active, 420M Inact, 185M Wired, 112M Buf, 1158M Free

How can I increase the box performance used for name server only?
I want to use most of memory in cache name server


eg: increase parameter sysclt.conf

thank you so much




   
-
Looking for the perfect gift? Give the gift of Flickr!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Running Name Server

2006-10-02 Thread George Allan
On Tue, Oct 03, 2006 at 12:04:48AM +1000, Warren Liddell wrote:
> Im wanting to run a name server server locally around my network on
> FreeBSD 6.2-PRERELEASE ... Where abouts do i find the port to install
> so i can configure it ?

/usr/ports/dns/bind9/

Read the Handbook for information on how to set things up.
Additionally, I'd suggest checking out Greg Leahy's FreeBSD book, now
available in downloadable PDF format from
http://www.lemis.com/grog/Documentation/CFBSD/.  Even better, buy it.

If you don't have a registered domain name, note that the "example.org"
domain is reserved for such uses; but any "fantasy" name should work,
providing the name you choose doesn't conflict with a real (registered)
domain.  

You'll also most likely want to add a DHCP server.

cd /usr/ports && make search name=dhcp

The rest is left as an exercise for the reader.






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


Re: Running Name Server

2006-10-02 Thread Greg Barniskis

Warren Liddell wrote:
Im wanting to run a name server server locally around my network on FreeBSD 
6.2-PRERELEASE ... Where abouts do i find the port to install so i can 
configure it ?


There are DNS ports, but the BIND name server is native to the 
system. You just need to config and enable it.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html

If you don't want BIND, DNS ports would be in ports/net.

--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Running Name Server

2006-10-02 Thread Derek Ragona

FreeBSD runs bind as part of the system.  Check the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html

to configure it.

-Derek


At 09:04 AM 10/2/2006, Warren Liddell wrote:

Im wanting to run a name server server locally around my network on FreeBSD
6.2-PRERELEASE ... Where abouts do i find the port to install so i can
configure it ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Running Name Server

2006-10-02 Thread Warren Liddell
Im wanting to run a name server server locally around my network on FreeBSD 
6.2-PRERELEASE ... Where abouts do i find the port to install so i can 
configure it ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Configuring For Cache Name Server

2005-11-24 Thread Daniel Bye
On Thu, Nov 24, 2005 at 01:22:21PM -0500, Gerard Seibert wrote:
> On Thursday, November 24, 2005 1:05:49 PM, Daniel Bye <[EMAIL PROTECTED]>
> 
> Thanks. That is just the sort of information that I would have thought
> should have been listed somewhere on the man pages for setting up a
> cache name server. If it was there, I never noticed it.

Not sure it is there, but it is certainly in dhclient.conf(5).

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp96rALg0fgp.pgp
Description: PGP signature


Re: Configuring For Cache Name Server

2005-11-24 Thread Gerard Seibert
On Thursday, November 24, 2005 1:05:49 PM, Daniel Bye <[EMAIL PROTECTED]>
Subject: Re: Configuring For Cache Name Server
Wrote these words of wisdom:

> On Thu, Nov 24, 2005 at 12:46:27PM -0500, Gerard Seibert wrote:
> > OK, then why is it that the nameserver 127.0.0.1 gets removed on every
> > reboot of the system and the nameservers of my ISP are inserted.
> > Actually, I never removed them, I just placed the new one ahead of them.
> > There is also a search entry in the file. If I remove it, it also gets
> > rewritten upon boot-up. Maybe I should mention that I am employing DHCP
> > presently to obtain a lease from my ISP. Is there something I need to
> > alter in order to get this to work. If I cannot be done, it is no great
> > lose however. I can live with the system the way it is.
> 
> dhclient doesn't know that you want to use a local cache, so it does
> what it does - gets resolver addresses from your ISP.
> 
> Put this in your /etc/dhclient.conf:
> 
> interface "hme0" {<---  Change interface name accordingly...
> supersede domain-name-servers 127.0.0.1;
> }
> 
> 
> And try again.  I believe, but haven't tested it, that you can use
> prepend instead of supersede is you wish to keep your ISP's resolvers in
> case your cache fails - but don't quote me on that!  ;-)
> 
> As for search order, use prepend:
> 
> interface "hme0" {
> prepend domain-name "your.domain.here";
> }
> 
> HTH
> 
> -- 
> Daniel Bye


* REPLY SEPARATOR *
On 10/11/2005 5:29:42 PM, Gerard Replied:

Thanks. That is just the sort of information that I would have thought
should have been listed somewhere on the man pages for setting up a
cache name server. If it was there, I never noticed it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Configuring For Cache Name Server

2005-11-24 Thread Daniel Bye
On Thu, Nov 24, 2005 at 12:46:27PM -0500, Gerard Seibert wrote:
> OK, then why is it that the nameserver 127.0.0.1 gets removed on every
> reboot of the system and the nameservers of my ISP are inserted.
> Actually, I never removed them, I just placed the new one ahead of them.
> There is also a search entry in the file. If I remove it, it also gets
> rewritten upon boot-up. Maybe I should mention that I am employing DHCP
> presently to obtain a lease from my ISP. Is there something I need to
> alter in order to get this to work. If I cannot be done, it is no great
> lose however. I can live with the system the way it is.

dhclient doesn't know that you want to use a local cache, so it does
what it does - gets resolver addresses from your ISP.

Put this in your /etc/dhclient.conf:

interface "hme0" {<---  Change interface name accordingly...
supersede domain-name-servers 127.0.0.1;
}


And try again.  I believe, but haven't tested it, that you can use
prepend instead of supersede is you wish to keep your ISP's resolvers in
case your cache fails - but don't quote me on that!  ;-)

As for search order, use prepend:

interface "hme0" {
prepend domain-name "your.domain.here";
}

HTH

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgplZLQK4lW39.pgp
Description: PGP signature


Configuring For Cache Name Server

2005-11-24 Thread Gerard Seibert
If I understand this correctly, if I want to enable a cache name server,
all I have to do is the following:

In /etc/rc.conf enter:
named_enable="YES"
named_flags="-u bind" 

Run this command: 
# cd /etc/namedb
# sh make-localhost

I enter the address: 127.0.0.1 in the /etc/resolv.conf file ahead of any
other entries.

I do not have to modify the /etc/namedb/named.conf in any way.

I can then either reboot or start the program manually.

Have I gotten that all correct?

OK, then why is it that the nameserver 127.0.0.1 gets removed on every
reboot of the system and the nameservers of my ISP are inserted.
Actually, I never removed them, I just placed the new one ahead of them.
There is also a search entry in the file. If I remove it, it also gets
rewritten upon boot-up. Maybe I should mention that I am employing DHCP
presently to obtain a lease from my ISP. Is there something I need to
alter in order to get this to work. If I cannot be done, it is no great
lose however. I can live with the system the way it is.

-- 
Gerard Seibert
[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: Memory used by caching name server?

2004-06-04 Thread Rob
Olaf Hoyer wrote:
On Fri, 4 Jun 2004, Rob wrote:

named claims memory on the fly.
On Solaris, I have bind 8 seen claiming about 800MB RAM for its caching
database, being the resolver for the machine that creates from http-logs
colorful pictures and other fancy things...
Waaauw, that sounds rather dangerous to me. I have a caching nameserver
running on an old Pentium-I with 32 Mb of ram (48 Mb swap). I am still
using it in a testing enviroment, moderately using the named's cache.
So far total memory usage by the OS is very low (swap is hardly used).
I wonder if named would eat up all the ram in a production enviroment.
Can't imagine that, actually. Nowhere I have seen warnings against
such disaster. But then there is this option for the named configuration
file, that limits the cache memory usage.
Well, some colleagues have some Machines with 512MB RAM running, also
bind 9, but with no given limit on size. They serve as resolvers to
several thousands of dedicated servers (customers servers) and use more
than 200MB RAM without being limited.
The example on Solaris is in a scenarion where a dedicated host has to
chew more than 30 GB http logs a day, does reverse lookups and then does
some statistics on them, so the named has to look up pretty much domain
names...
This special host has more than 10 CPU in it, so you can imagine the
power needed...
On other hosts, where I also run named as caching resolver, I have about
3-4 MB memory footprint for normal use...
How do you actually figure out how much memory is consumed by named?
I still have no idea how to do that, so I have no idea how much
my poor old Pentium-I is suffering from the named cache
Knowing how to do that, would help me already a little further.
Regards,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Memory used by caching name server?

2004-06-04 Thread Olaf Hoyer
On Fri, 4 Jun 2004, Rob wrote:

> >
> > named claims memory on the fly.
> > On Solaris, I have bind 8 seen claiming about 800MB RAM for its caching
> > database, being the resolver for the machine that creates from http-logs
> > colorful pictures and other fancy things...
>
> Waaauw, that sounds rather dangerous to me. I have a caching nameserver
> running on an old Pentium-I with 32 Mb of ram (48 Mb swap). I am still
> using it in a testing enviroment, moderately using the named's cache.
> So far total memory usage by the OS is very low (swap is hardly used).
>
> I wonder if named would eat up all the ram in a production enviroment.
> Can't imagine that, actually. Nowhere I have seen warnings against
> such disaster. But then there is this option for the named configuration
> file, that limits the cache memory usage.
>
Well, some colleagues have some Machines with 512MB RAM running, also
bind 9, but with no given limit on size. They serve as resolvers to
several thousands of dedicated servers (customers servers) and use more
than 200MB RAM without being limited.

The example on Solaris is in a scenarion where a dedicated host has to
chew more than 30 GB http logs a day, does reverse lookups and then does
some statistics on them, so the named has to look up pretty much domain
names...

This special host has more than 10 CPU in it, so you can imagine the
power needed...

On other hosts, where I also run named as caching resolver, I have about
3-4 MB memory footprint for normal use...


HTH
Olaf


-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Memory used by caching name server?

2004-06-04 Thread Rob
Olaf Hoyer wrote:
On Fri, 4 Jun 2004, Rob wrote:

No change at all in memory usage. If named keeps its cache in memory,
why do I not see any changes of available swap space when starting named?
Or does named claim memory on the fly, as it is caching?
If so, how can I find out what is the maximum it can claim on my machine?

Hi!
named claims memory on the fly.
On Solaris, I have bind 8 seen claiming about 800MB RAM for its caching
database, being the resolver for the machine that creates from http-logs
colorful pictures and other fancy things...
Waaauw, that sounds rather dangerous to me. I have a caching nameserver
running on an old Pentium-I with 32 Mb of ram (48 Mb swap). I am still
using it in a testing enviroment, moderately using the named's cache.
So far total memory usage by the OS is very low (swap is hardly used).
I wonder if named would eat up all the ram in a production enviroment.
Can't imagine that, actually. Nowhere I have seen warnings against
such disaster. But then there is this option for the named configuration
file, that limits the cache memory usage.
Elsewhere, I have read that named uses 1 Mb maximum by default. But
I read that in an out-dated document. I assume meanwhile things have
changed/improved.
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Memory used by caching name server?

2004-06-04 Thread Olaf Hoyer
On Fri, 4 Jun 2004, Rob wrote:

> No change at all in memory usage. If named keeps its cache in memory,
> why do I not see any changes of available swap space when starting named?
>
> Or does named claim memory on the fly, as it is caching?
> If so, how can I find out what is the maximum it can claim on my machine?


Hi!

named claims memory on the fly.
On Solaris, I have bind 8 seen claiming about 800MB RAM for its caching
database, being the resolver for the machine that creates from http-logs
colorful pictures and other fancy things...

I also don't know what the exact default is, IIRC named takes all
memory it gets.

HTH
Olaf

-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Memory used by caching name server?

2004-06-04 Thread Rob
Rob wrote:
Hi,
This is on FreeBSD 4-Stable.
I have set up a caching name server. About its cached data base,
I found out:
  1) data base is kept in memory
  2) the maximum memory is adjustable in named.conf, for example:
datasize 20M;
But without specifying the datasize, how much memory is used by
default. The named.conf man page is rather cryptic:
   datasize
   The maximum amount of data memory the server may use.
   The default value is default.
Elsewhere, I found that this "default" means a system dependent value.
In any case, how can I find out what is the memory used by my server
on my system? Is there a 'ndc ' command for this?
This is important when I consider to increase the memory limit.
I'm adding additional comments to my own email.
When I do not have the caching name server running, I do this:
  # swapinfo ; ndc start ; swapinfo
  Device  512-blocks UsedAvail Capacity  Type
  /dev/ad0s1b  99312 356095752 4%Interleaved
  new pid is 1714
  Device  512-blocks UsedAvail Capacity  Type
  /dev/ad0s1b  99312 356095752 4%Interleaved
No change at all in memory usage. If named keeps its cache in memory,
why do I not see any changes of available swap space when starting named?
Or does named claim memory on the fly, as it is caching?
If so, how can I find out what is the maximum it can claim on my machine?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Memory used by caching name server?

2004-06-03 Thread Rob
Hi,
This is on FreeBSD 4-Stable.
I have set up a caching name server. About its cached data base,
I found out:
  1) data base is kept in memory
  2) the maximum memory is adjustable in named.conf, for example:
datasize 20M;
But without specifying the datasize, how much memory is used by
default. The named.conf man page is rather cryptic:
   datasize
   The maximum amount of data memory the server may use.
   The default value is default.
Elsewhere, I found that this "default" means a system dependent value.
In any case, how can I find out what is the memory used by my server
on my system? Is there a 'ndc ' command for this?
This is important when I consider to increase the memory limit.
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Name Server error

2004-02-18 Thread Lowell Gilbert
"Ajitesh K" <[EMAIL PROTECTED]> writes:

> Hi friends,
> 
> I am getting this error message from my name server "nserv1". As far as i
> know PC "user5" is a Win XP (Home) PC.
> 
> nserv1.lan.company.com ipfw denied packets:
> > 65535  759856  86646781 deny ip from any to any
> 
> nserv1.lan.company.com kernel log messages:
> > d31d9003494bbb68e17ab" rrset exists delete IN A user5.dhcp.company.com add
> 300 IN A user5.dhcp.company.com 10.1.2.10: no such RRset.
> 
> nserv1.lan.company.com login failures:
> 
> nserv1.lan.company.com refused connections:

Looks like "user5.dhcp.company.com" is trying to submit a DNS update
for itself.  Some versions of Windows do that by default...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Name Server error / problem with Win XP

2004-02-18 Thread Tony Frank
Hi there,

On Tue, Feb 17, 2004 at 02:30:49PM -0500, Ajitesh K wrote:
> We are running "NameServ1" Name server on Freebsd 4.8
> We are getting some kind of error on my name server "nameserv1". FYI, "TM25"
> is laptop of out side client and OS is Windows XP Home.
> nameserv1.lan.company.com kernel log messages:
> 
> > 31 10:47:32 nameserv1 dhcpd: if IN A TM25.dhcp.company.com domain doesn't
> exist add 300 IN A TM25.dhcp.company.com 10.1.2.165 add 300 IN TXT
> TM25.dhcp.company.com "31eb2f5e58786ebab0b6eabd298b28671f": domain already
> exists
> 
> I feel its some thing to do with Windows XP. Does any one know the fix?

You have your dhcpd configured to use 'dynamic dns' function.

When the laptop gets an address via dhcp, the dhcpd sends a message to dns
to update the dns name to the new IP address.
Some windows clients can do this also if the option is configured in the
Windows DNS settings.  Here I think it is your server as the log line comes
from "dhcpd".

In this case, the name "TM25.dhcp.company.com" already exists so dhcpd reports
this.
This may be due to a static entry in DNS zone files or because the laptop already
had an entry configured earlier.

You can check by doing a 'dig TM25.dhcp.company.com' and see what results you 
get from your DNS - you should see the name resolve to the IP address of the
laptop.

Regards,

Tony

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


Re: Name Server error / problem with Win XP

2004-02-17 Thread Kevin D. Kinsey, DaleCo, S.P.
Ajitesh K wrote:

Hi freinds,

We are running "NameServ1" Name server on Freebsd 4.8
We are getting some kind of error on my name server "nameserv1". FYI, "TM25"
is laptop of out side client and OS is Windows XP Home.
nameserv1.lan.company.com kernel log messages:
 

31 10:47:32 nameserv1 dhcpd: if IN A TM25.dhcp.company.com domain doesn't
   

exist add 300 IN A TM25.dhcp.company.com 10.1.2.165 add 300 IN TXT
TM25.dhcp.company.com "31eb2f5e58786ebab0b6eabd298b28671f": domain already
exists
I feel its some thing to do with Windows XP. Does any one know the fix?

Thanks in advance.

With Regards,

Ajitesh K
 

Your first post included 'ipfw show' output.  Did you figure
out what was going on there?  Make sure that port 53 is
available, perhaps on both TCP and UDP.
As you see, I am no expert here.  I did "dig(1)" some of
the information in your last post, and based on that and
the content of your error messages, think that you need
some A records, for starters...
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Name Server error / problem with Win XP

2004-02-17 Thread Ajitesh K
Hi freinds,

We are running "NameServ1" Name server on Freebsd 4.8
We are getting some kind of error on my name server "nameserv1". FYI, "TM25"
is laptop of out side client and OS is Windows XP Home.
nameserv1.lan.company.com kernel log messages:

> 31 10:47:32 nameserv1 dhcpd: if IN A TM25.dhcp.company.com domain doesn't
exist add 300 IN A TM25.dhcp.company.com 10.1.2.165 add 300 IN TXT
TM25.dhcp.company.com "31eb2f5e58786ebab0b6eabd298b28671f": domain already
exists

I feel its some thing to do with Windows XP. Does any one know the fix?

Thanks in advance.

With Regards,

Ajitesh K


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


Name Server error

2004-02-17 Thread Ajitesh K
Hi friends,

I am getting this error message from my name server "nserv1". As far as i
know PC "user5" is a Win XP (Home) PC.

nserv1.lan.company.com ipfw denied packets:
> 65535  759856  86646781 deny ip from any to any

nserv1.lan.company.com kernel log messages:
> d31d9003494bbb68e17ab" rrset exists delete IN A user5.dhcp.company.com add
300 IN A user5.dhcp.company.com 10.1.2.10: no such RRset.

nserv1.lan.company.com login failures:

nserv1.lan.company.com refused connections:


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


Name Server error / problem with Win XP

2004-01-02 Thread Ajitesh K
Hi freinds,

Wish you all a very Happy New year.

I am get some kind of error on my name server "nameserv1". FYI, TM25 system is laptop 
of out side client and OS is Windows XP Home. 
nameserv1.lan.mycompany.com kernel log messages:

> 31 10:47:32 nameserv1 dhcpd: if IN A TM25.dhcp.mycompany.com domain doesn't exist 
> add 300 IN A TM25.dhcp.mycompany.com 10.1.2.165 add 300 IN TXT 
> TM25.dhcp.mycompany.com "31eb2f5e58786ebab0b6eabd298b28671f": domain already exists

I feel its some thing to do with Windows XP. Does any one know the fix?

Thanks in advance.

With Regards,

Ajitesh K




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


Re: name server on alternate port

2003-11-24 Thread Mark
- Original Message - 
From: "Matthew Seaman" <[EMAIL PROTECTED]>
To: "Mark" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, November 22, 2003 3:20 PM
Subject: Re: name server on alternate port


On Sat, Nov 22, 2003 at 01:55:01PM +, Mark wrote:

> If I want to install a second name server, on a different listening
> port, how can I get the resolver libraries to consult the other port
> too? I want to add rbldsnd, next to bind, for a large zone.

> I don't think that's really going to work. You can configure a slave
> server to do domain transfers on alternate ports, but that's about it.
> Everything else expects DNS servers to answer on port 53. You'ld be
> better off adding an alias address to the server and making each server
> bind each to it's own address.  Don't know about rbldnsd(8), but for
> bind9 you can put entries like this within the options{} section of
> named.conf:
>
> listen-on {
> 127.0.0.1;
> 12.34.56.78;
> };
> query-sourceaddress 12.34.56.78 port 53;
> transfer-source 12.34.56.78 port 53;
> notify-source   12.34.56.78 port 53;


Thank you. :) Your idea to bind both nameservers on their own IP, with
rbldnsd on the alias, worked brilliantly well. Instead of configuring a
slave server, though, I went with forwarding, like so:

zone "dynablock.my-domain.info" IN {
 type forward;
 forward only;
 forwarders {
  127.0.0.4;
 };
}

And now everything works beautifully. :)

- Mark

P.S. Getting rbldnsd to work was worth the trouble. I have the entire
dynablock, blackholes, and proxies zones, from the soon to expire easynet.nl
RBLs, all loaded in under 22 MB! of memory (and rbldnsd keeps everything in
memory too, in case you wondered). The same cost BIND over 220 MB memory!

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


Re: name server on alternate port

2003-11-22 Thread Matthew Seaman
On Sat, Nov 22, 2003 at 01:55:01PM +, Mark wrote:

> If I want to install a second name server, on a different listening port,
> how can I get the resolver libraries to consult the other port too? I want
> to add rbldsnd, next to bind, for a large zone.

I don't think that's really going to work. You can configure a slave
server to do domain transfers on alternate ports, but that's about it.
Everything else expects DNS servers to answer on port 53. You'ld be
better off adding an alias address to the server and making each
server bind each to it's own address.  Don't know about rbldnsd(8),
but for bind9 you can put entries like this within the options{}
section of named.conf:

listen-on {
127.0.0.1;
12.34.56.78;
};
query-sourceaddress 12.34.56.78 port 53;
transfer-source 12.34.56.78 port 53;
notify-source   12.34.56.78 port 53;

(Nb. you can change the port number that bind uses in the 'listen-on'
statement but as I said above, there's not a great deal of use in
doing that)

See file:///usr/local/share/doc/bind9/arm/Bv9ARM.html for details.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


name server on alternate port

2003-11-22 Thread Mark
Hello,

If I want to install a second name server, on a different listening port,
how can I get the resolver libraries to consult the other port too? I want
to add rbldsnd, next to bind, for a large zone.

Thanks,

- Mark

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


Problem with name server?

2003-09-18 Thread Michael A. Alderete
I just re-made my world to 4.9-PRERELEASE, using the instructions from the
Handbook, and everything appears to be working fine.

I do have one oddity, a number of messages that make it sound like named
cannot find the root name servers, e.g.:

Sep 18 15:09:25 ballista named[73]: sysquery: no addrs found for root NS
(A.ROOT-SERVERS.NET)

When I say "a number" of these, I mean on the order of 82471 entries, for
(all?) the root servers, A through M.

I don't believe I've ever had this problem before. My
/etc/namedb/named.root file has never been touched, appears to be
uncorrupted, and has the following version string:

$FreeBSD: src/etc/namedb/named.root,v 1.9.2.1 2002/11/06 09:24:12 dougb Exp $

Googling for the error message seems to indicate that it's not necessarily
a big issue, but given the number of log entries, I'd really like to
eliminate the problem. DNS resolution appears to be working fine, I just
want to keep my logs to a manageable size.

Thanks!

Michael
-- 
Michael A. Alderete
 tel: +1 (415) 861-5758

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