OT: cached memory
Hello, Just wondering if anyone has a real world example of how much cached memory a server really needs? If I run the command free -m it shows that it is using all of the memory on the server and most of it is cached. I understand the concept and the reasoning, but what I would like to know is how much is a reasonable amount to have? I am assuming that if I gave this server 10 times the amount it would eventually cache that as well. total used free sharedbuffers cached Mem: 3017 2961 56 0158 2434 -/+ buffers/cache:368 2649 Swap: 5023 0 5023 Thanks, Dan. ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: OT: cached memory
I understand the concept, as I have read many documents like that. I am more interested in a real world example of how much free memory for caching is recommended for an average server. Dan. On Wed, Jun 13, 2012 at 1:00 PM, Mike Hoskins micho...@cisco.com wrote: this is a common source of confusion and more of a linuxism...it will fill all available memory with cache, and reclaim as needed. you can adjust it somewhat with various sysctls. http://www.linuxhowtos.org/System/Linux%20Memory%20Management.htm -Original Message- From: Dan Letkeman danletke...@gmail.com Date: Wednesday, June 13, 2012 10:50 AM To: bind-users bind-users@lists.isc.org Subject: OT: cached memory Hello, Just wondering if anyone has a real world example of how much cached memory a server really needs? If I run the command free -m it shows that it is using all of the memory on the server and most of it is cached. I understand the concept and the reasoning, but what I would like to know is how much is a reasonable amount to have? I am assuming that if I gave this server 10 times the amount it would eventually cache that as well. total used free shared buffers cached Mem: 3017 2961 56 0 158 2434 -/+ buffers/cache: 368 2649 Swap: 5023 0 5023 Thanks, Dan. ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: zone update to slave
Ah, I did not know that. So then my scenario must be somewhat common. Yes I update this reverse zone dynamically via dhcp, but I also have some static devices in the same range that I want to manually enter, hence the manual entry on the master. So what is the best practice for adding a static entry to a dynamically updated zone? On Wed, Jan 11, 2012 at 2:51 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote: On 10.01.12 15:06, Dan Letkeman wrote: It seems as if these types of records get transfered: 9 PTR gvc-busdrivers.wks-gvc.domain.com. But these do not: 24.184.16.172.in-addr.arpa. IN PTR str-r7500.gvc.domain.com. If I delete the journal file on the on the slave server up the serial number on the master I get the same results. The first type of record is updated dynamically and the second type of record is added manually. afaik zone zan be updated only statically or only dynamically, not both. Apparently your master does not know that you have added something manually, because it only writes the zone file, it does not read it. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. (R)etry, (A)bort, (C)ancer ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Zone transfers from slaves to slaves?
Hello, I think I have a configuration issue somewhere. It looks like from the logs that my master server is notifying the slaves correctly, but then the other slaves are also notifying the slaves as well. 172.16.0.100 is the master 172.16.0.101 is 1st slave 172.16.0.102 is 2nd slave Here is a log from a zone update on 172.16.0.101 (1st slave) 24-Feb-2010 13:31:52.717 notify: info: client 172.16.0.100#58960: received notify for zone 'guest.company.com' 24-Feb-2010 13:31:52.718 general: info: zone guest.company.com/IN: Transfer started. 24-Feb-2010 13:31:52.718 xfer-in: info: transfer of 'guest.company.com/IN' from 172.16.0.100#53: connected using 172.16.0.101#33350 24-Feb-2010 13:31:52.721 general: info: zone guest.company.com/IN: transferred serial 1263866844 24-Feb-2010 13:31:52.721 xfer-in: info: transfer of 'guest.company.com/IN' from 172.16.0.100#53: end of transfer 24-Feb-2010 13:31:52.722 notify: info: zone guest.company.com/IN: sending notifies (serial 1263866844) 24-Feb-2010 13:31:53.219 notify: info: client 172.16.0.100#46912: received notify for zone 'guest.company.com' 24-Feb-2010 13:31:53.219 general: info: zone guest.company.com/IN: notify from 172.16.0.100#46912: zone is up to date 24-Feb-2010 13:31:53.220 notify: info: client 172.16.0.101#37186: received notify for zone 'guest.company.com' 24-Feb-2010 13:31:53.220 general: info: zone guest.company.com/IN: refused notify from non-master: 172.16.0.101#37186 24-Feb-2010 13:31:53.220 notify: info: client 172.16.0.100#46912: received notify for zone '7.0.10.in-addr.arpa' 24-Feb-2010 13:31:53.220 general: info: zone 7.0.10.in-addr.arpa/IN: Transfer started. 24-Feb-2010 13:31:53.221 xfer-in: info: transfer of '7.0.10.in-addr.arpa/IN' from 172.16.0.100#53: connected using 172.16.0.101#32980 24-Feb-2010 13:31:53.223 general: info: zone 7.0.10.in-addr.arpa/IN: transferred serial 1263866144 24-Feb-2010 13:31:53.223 xfer-in: info: transfer of '7.0.10.in-addr.arpa/IN' from 172.16.0.100#53: end of transfer 24-Feb-2010 13:31:53.223 notify: info: zone 7.0.10.in-addr.arpa/IN: sending notifies (serial 1263866144) 24-Feb-2010 13:31:53.731 notify: info: client 172.16.0.102#30923: received notify for zone 'guest.company.com' 24-Feb-2010 13:31:53.731 general: info: zone guest.company.com/IN: notify from 172.16.0.102#30923: zone is up to date 24-Feb-2010 13:31:53.832 notify: info: client 172.16.0.101#36686: received notify for zone '7.0.10.in-addr.arpa' 24-Feb-2010 13:31:53.832 general: info: zone 7.0.10.in-addr.arpa/IN: refused notify from non-master: 172.16.0.101#36686 24-Feb-2010 13:31:54.244 notify: info: client 172.16.0.102#57854: received notify for zone '7.0.10.in-addr.arpa' 24-Feb-2010 13:31:54.245 general: info: zone 7.0.10.in-addr.arpa/IN: notify from 172.16.0.102#57854: zone is up to date Dan. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: single entry to hosted service
Yes I do need some kind of dns configuration. We bought a hosted accounting service from a company that has asked us to put a dns entry into our dns servers so that our internal machines only can resolve there hosted service via dns. I guess they don't want to populate there isp's dns servers with all of the dns entries for all of there customers So with my limited knowledge of bind (using webmin to configure it) I need to make an entry like this: 222.222.222.222 A hosted.accounting.com In our internal DNS servers. I don't have any internet side dns, just internal. I'm just a bit unsure on what the best way to do this is, and I don't want to have to append everyone's hosts file on there workstations. I have many master zones for our internal systems, and I have created all of the nessesary records. I have setup slave servers, and the whole bit. So i'm wondering do I need to setup a master zone, and put in the 222.222.222.222 A hosted.accounting.com as an A record, and then have the zone forward everything else? Reason being is because our users will still need to access other sites from the accounting company's domain. Thanks, Dan. On Mon, Dec 7, 2009 at 11:43 AM, Kevin Darcy k...@chrysler.com wrote: Dan Letkeman wrote: Hello, I need to add an entry in our dns servers for a hosted service we purchased. Do I just add a master zone and a single entry? Or is there a better way to add a single entry to forward to a remote server? Maybe I'm not understanding your requirements. If this hosted service uses a name that's already populated in the Internet-facing DNS, why do you need any special DNS configuration at all? Why can't you resolve this like you resolve any other Internet name? Assuming that you _do_ in fact need some special configuration, for some reason, the zone types for (non-root) zones in BIND are: master, slave, forward, and stub. Each of them has benefits and disadvantages, but I'll defer that discussion until and unless it's determined that you need a special DNS configuration at all... - Kevin ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: single entry to hosted service
Thanks Jeff. I'll give this a try. On Mon, Dec 7, 2009 at 1:53 PM, Jeff Lightner jlight...@water.com wrote: You create a zone file that only has the entries for accounting.com. You add that to named.conf. Your other zone files are still in place so you shouldn't need to forward anything else because you're saying this is internal to your network. If a user is sitting at his desk and types: InternalSite1.excample.com to get to one of your internal websites then goes to hosted.accounting.com then tries to go to InternalSite2.example.com then their current stub server setting should use the same resolution setting (e.g. /etc/resolv.conf on UNIX/Linux) to get to InternalSite2 as it used to get to InternalSite1. The above assumes all your workstations etc... always ask your DNS server for any lookup first which is the normal way of doing things. -Original Message- From: bind-users-boun...@lists.isc.org [mailto:bind-users-boun...@lists.isc.org] On Behalf Of Dan Letkeman Sent: Monday, December 07, 2009 1:41 PM To: Kevin Darcy Cc: bind-users Subject: Re: single entry to hosted service Yes I do need some kind of dns configuration. We bought a hosted accounting service from a company that has asked us to put a dns entry into our dns servers so that our internal machines only can resolve there hosted service via dns. I guess they don't want to populate there isp's dns servers with all of the dns entries for all of there customers So with my limited knowledge of bind (using webmin to configure it) I need to make an entry like this: 222.222.222.222 A hosted.accounting.com In our internal DNS servers. I don't have any internet side dns, just internal. I'm just a bit unsure on what the best way to do this is, and I don't want to have to append everyone's hosts file on there workstations. I have many master zones for our internal systems, and I have created all of the nessesary records. I have setup slave servers, and the whole bit. So i'm wondering do I need to setup a master zone, and put in the 222.222.222.222 A hosted.accounting.com as an A record, and then have the zone forward everything else? Reason being is because our users will still need to access other sites from the accounting company's domain. Thanks, Dan. On Mon, Dec 7, 2009 at 11:43 AM, Kevin Darcy k...@chrysler.com wrote: Dan Letkeman wrote: Hello, I need to add an entry in our dns servers for a hosted service we purchased. Do I just add a master zone and a single entry? Or is there a better way to add a single entry to forward to a remote server? Maybe I'm not understanding your requirements. If this hosted service uses a name that's already populated in the Internet-facing DNS, why do you need any special DNS configuration at all? Why can't you resolve this like you resolve any other Internet name? Assuming that you _do_ in fact need some special configuration, for some reason, the zone types for (non-root) zones in BIND are: master, slave, forward, and stub. Each of them has benefits and disadvantages, but I'll defer that discussion until and unless it's determined that you need a special DNS configuration at all... - Kevin ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users Proud partner. Susan G. Komen for the Cure. Please consider our environment before printing this e-mail or attachments. -- CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you. -- ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
dynamic dns updates from cisco router dhcp
Hello, I have setup dynamic dns updates from a cisco router which is handing out dhcp addresses. In the debug's i'm getting messages that say REFUSED and SERVFAIL when trying to do a dynamic update. I'm unsure as to where the problem lies, but I think it might have to do with the security on the BIND server. I have added the networks to the zone via the allow-update option. But whatever I try I still get the REFUSED error on the router. Here is my config: acl ecs { 172.16.56.0/21; }; acl home { 192.168.75.229; }; acl slaves { 172.16.200.151; 192.168.75.115; }; options { directory /etc; pid-file /var/run/named/named.pid; forwarders { 142.161.130.155; 142.161.2.155; }; notify yes; allow-recursion { 172.16.0.0/16; 192.168.75.0/24; }; query-source address 172.16.200.150; sortlist { { 192.168.75/24; { 172.16.88/21; }; }; { 172.16.56/21; { 172.16.56/21; }; }; }; }; zone 16.172.in-addr.arpa { type master; file /var/named/172.16.rev; notify yes; also-notify { 172.16.200.151; 172.16.56.250; }; }; zone tech.net { type master; file /var/named/tech.net.hosts; notify yes; also-notify { 172.16.200.151; 172.16.56.250; }; }; zone me.net { type master; file /var/named/me.net.hosts; also-notify { 172.16.200.151; 192.168.75.115; }; notify yes; }; zone . { type hint; file /var/named/root.db; }; zone 168.192.in-addr.arpa { type master; file /var/named/192.168.rev; }; zone ecs.net { type master; file /var/named/ecs.net.hosts; }; zone me.com { type master; file /var/named/me.com.hosts; }; zone dan.net { type master; file /var/named/dan.net.hosts; allow-update { 192.168.75.1; 172.16.56.111; 192.168.75.31; }; }; controls { }; The zone i'm trying to send dynamic updates to is the last one. Thanks, Dan. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
create journal file: permission denied
Hello, I'm trying to setup ddns and the log file is showing that it cannot create the journal file 16-Jun-2009 22:03:30.145 update: info: client 172.16.56.111#63970: updating zone 'dan.net/IN': error: journal open failed: unexpected error 16-Jun-2009 22:03:30.211 update: info: client 172.16.56.111#63970: updating zone 'dan.net/IN': deleting rrset at 'none.dan.net' A 16-Jun-2009 22:03:30.212 update: info: client 172.16.56.111#63970: updating zone 'dan.net/IN': adding an RR at 'none.dan.net' A 16-Jun-2009 22:03:30.212 general: info: journal file /var/named/dan.net/dan.net.hosts.jnl does not exist, creating it 16-Jun-2009 22:03:30.218 general: error: /var/named/dan.net/dan.net.hosts.jnl: create: permission denied 16-Jun-2009 22:03:30.218 update: info: client 172.16.56.111#63970: updating zone 'dan.net/IN': error: journal open failed: unexpected error I have tried moving the zone into it's own directory and giving the named user full rights to it but it is still unable to create the file. Is there anything else I can try? Thanks, Dan. ___ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users