(Created page with "Right now there usually are numerous methods employed inside natural flea control. Hand picking is fairly powerful. Every time a dog comes throughout from outdoors, immediatel...")
 
(BIND DNS Server)
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
Right now there usually are numerous methods employed inside natural flea control. Hand picking is fairly powerful. Every time a dog comes throughout from outdoors, immediately run a narrow toothed flea comb over him and also wash the critters down the actual drain. This particular is time consuming should you live in a multidog household, but fortunately right now there usually are alternative methods. Fleas reside on vegetation within the outdoors. Adding kelp to be able to the actual soil assists plants develop their own arsenal against pests. Kelp typically is a important and also undervalued defensive weapon. When composted within the soil it adds numerous nutrients and plant enzymes which act as preventative against insect pests.
+
 
Several of us prefer to totally prevent the actual employ of toxins with regard to our dwelling, not to mention particularly on our pets. Luckily, there are generally countless natural flea control methods that you can buy. Indeed there is a lot of inaccurate information and facts circulating about the particular Web regarding flea control for pets not to mention natural flea control treatments such as neem. Various individuals currently have heard of neem oil yet don't actually grasp a lot with regards to it or simply just how that would use it safely with pets.
+
== BIND DNS Server ==
The particular at first thing to realize about natural flea control remedies, typically is that merely because something is purely natural, does certainly not mean it's certainly not toxic. Pyrethrins, insecticides derived within the African chrysanthemum, tend to be both purely natural and even toxic.
+
 
Important essential oils
+
[https://www.isc.org/downloads/bind/| BIND] is the most widely used Linux Name Server software. It implements Domain Name Systems (DNS) protocols and can act as a resolver, authority server or both.
A bunch of important oils is toxic with regard to large doses because well, particularly that would cats. Since cats never metabolize important oils terribly well, they could certainly develop up inside their systems not to mention cause issues. Even though numerous cat owners make use of natural flea control remedies which contain necessary essential oils, it really is advisable that would incorporate caution.
+
 
Good nutrition and also flea control
+
BIND DNSSEC support requires OpenSSL. Download, build and install OpenSSL:
Feeding a pet advantageous top quality food typically is not just the particular proper thing to do, it could equally provide greater protection against fleas. Poor nutrition can create your pet more susceptible to be able to fleas, since a healthy animal typically is less attractive to be able to adult fleas. Ask the vet for recommendations.
+
 
Garlic as well as yeast
+
<PRE>
Bother garlic and yeast can easily assist to obviously protect your own pet from fleas. Cat owners ought to be aware, but bear in mind, that garlic is actually toxic to cats, and even can damage their red blood cells.
+
wget http://www.openssl.org/source/openssl-1.0.2c.tar.gz
Brewer's yeast can be utilized for both dogs as well as pets. Make full use of regarding 1 teaspoon for pets not to mention small dogs, plus about a tablespoon for a fifty pound dog. If perhaps your individual pet develops a skin rash, they may be allergic to be able to yeast
+
tar -xzf openssl-1.0.2c.tar.gz
Control Your own Environment: Should you remain capable that would let your own pet inside the actual apartment, it can lessen the risk of having fleas with your pets. The particular more they may go outside, more possibilities are to be able to get more fleas. Pretty much, your pet gets the flea from other animals outside, thus avoid your individual pet contact with outside animals. Anyone could moreover bring a modern product, which are really specially crafted to be able to kill fleas.
+
cd openssl-1.0.2c
Grooming/Bathing: you will need to comb the pet on regular basis and also trim it's hair. It usually also minimize the particular risk of presence of fleas and also you will easily control fleas.
+
./Configure linux-generic32 shared --prefix=/home/export/rootfs
Prior to adopting the actual proper measures for killing the actual fleas from the home, anyone could recognize the actual basic knowledge with regards to fleas. We should really keep within mind which weather cannot affect fleas. They do not become less in winter somewhat they survive with regard to the coldest weather as well. They may live inside the deep freezer too. Thus anyone ought to consume strong measures for natural flea control.
+
make CC=arm-linux-gnueabi-gcc RANLIB=arm-linux-gnueabi-ranlib LD=arm-linux-gnueabi-ld MAKEDEPPROG=arm-linux-gnueabi-gcc
Among the many very best resources to attain more information on natural flea control is actually [http://www.carpetfleas.com/remedies-for-natural-and-orangic-flea-control/ Natural Flea Control]
+
make install CC=arm-linux-gnueabi-gcc RANLIB=arm-linux-gnueabi-ranlib LD=arm-linux-gnueabi-ld
 +
</PRE>
 +
 
 +
Download, build and install BIND:
 +
 
 +
<PRE>
 +
wget http://ftp.isc.org/isc/bind9/9.10.2-P1/bind-9.10.2-P1.tar.gz
 +
tar -xzf bind-9.10.2-P1.tar.gz
 +
cd bind-9.10.2-P1
 +
./configure --prefix= --host=arm-linux-gnueabi --sysconfdir=/etc --with-randomdev=no --with-openssl=/home/export/rootfs --with-ecdsa=yes --with-gost=no BUILD_CC=gcc
 +
make
 +
make install DESTDIR=/home/export/rootfs
 +
</PRE>
 +
 
 +
Create a configuration file /etc/bind/named.conf with the following contents:
 +
 
 +
<PRE>
 +
acl localnet {
 +
192.168.0.0/24;
 +
        2003:44b9:4219:6400::/64;
 +
localhost;
 +
};
 +
 
 +
options {
 +
directory "/var/cache/bind";
 +
#      fowarders { 192.231.203.132; 192.231.203.3 };
 +
dnssec-validation auto;
 +
auth-nxdomain no;
 +
        listen-on port 53 { 127.0.0.1; 192.168.0.254; }
 +
listen-on-v6 { 2001:44b9:4219:6400:250:43ff:fe01:835e; };
 +
recursion yes;
 +
allow-query { localnet; };
 +
};
 +
 
 +
zone "." {
 +
type hint;
 +
file "/etc/bind/named.root";
 +
};
 +
 
 +
zone "0.0.127.in-addr.arpa" {
 +
        type master;
 +
        file "/etc/bind/db.127";
 +
};
 +
 
 +
zone "0.168.192.in-addr.arpa" {
 +
  type master;
 +
file "/etc/bind/db.192";
 +
};
 +
 
 +
zone "home" {
 +
  type master;
 +
file "/etc/bind/home.zone";
 +
};
 +
</PRE>
 +
 
 +
The Access Control List (ACL) controls what hosts can query the DNS resolver. You will need to change these to suit your network.
 +
 
 +
Likewise for the listen-on fields - this binds BIND to these network interfaces.
 +
 
 +
The forwarders field is currently commented out. You can uncomment this, if you want your resolver to forward requests from other DNS servers upstream, such as your ISP. If it is commented out, then your resolver will contact root servers
 +
 
 +
The named.root file contains a list of root servers and their IP addresses. It can be downloaded using:
 +
 
 +
<PRE>
 +
wget http://www.internic.net/domain/named.root
 +
</PRE>
 +
 
 +
The following file allows reverse lookups for the localhost name. Create a file called /etc/bind/db.127 with the following contents:
 +
<PRE>
 +
;
 +
; BIND reverse data file for local loopback interface
 +
;
 +
$TTL 604800
 +
@ IN SOA localhost. root.localhost. (
 +
      1 ; Serial
 +
604800 ; Refresh
 +
  86400 ; Retry
 +
2419200 ; Expire
 +
604800 ) ; Negative Cache TTL
 +
;
 +
@ IN NS localhost.
 +
1.0.0 IN PTR localhost.
 +
</PRE>
 +
 
 +
The following file allows reverse lookups for our resolver, 192.168.0.254. Doing a reverse lookup for 192.168.0.254 should return 'gateway.home'
 +
 
 +
Create a file called /etc/bind/db.192 with the following contents:
 +
<PRE>
 +
;
 +
; BIND reverse data file for local subnet 192.168.0
 +
;
 +
$TTL    604800
 +
@      IN      SOA    gateway.home. webuser.gateway.home. (
 +
      2 ; Serial
 +
604800 ; Refresh
 +
  86400 ; Retry
 +
2419200 ; Expire
 +
604800 ) ; Negative Cache TTL
 +
;
 +
@      IN      NS  gateway.
 +
254    IN      PTR gateway.home.
 +
</PRE>
 +
 
 +
The following file can be used to lookup hosts on your local subnet. For example, looking up gateway.home should return the address 192.168.0.254. Looking up nas.home will return 192.168.0.253.
 +
 
 +
Create a file called /etc/bind/home.zone with the following contents:
 +
<PRE>
 +
;
 +
; BIND data file for home domain
 +
;
 +
$TTL 604800
 +
@ IN SOA home. root.home. (
 +
      2 ; Serial
 +
604800 ; Refresh
 +
  86400 ; Retry
 +
2419200 ; Expire
 +
604800 ) ; Negative Cache TTL
 +
;
 +
NS gateway
 +
gateway A 192.168.0.254
 +
nas A 192.168.0.253
 +
</PRE>

Latest revision as of 11:50, 14 July 2015

BIND DNS Server

BIND is the most widely used Linux Name Server software. It implements Domain Name Systems (DNS) protocols and can act as a resolver, authority server or both.

BIND DNSSEC support requires OpenSSL. Download, build and install OpenSSL:

wget http://www.openssl.org/source/openssl-1.0.2c.tar.gz
tar -xzf openssl-1.0.2c.tar.gz
cd openssl-1.0.2c
./Configure linux-generic32 shared --prefix=/home/export/rootfs
make CC=arm-linux-gnueabi-gcc RANLIB=arm-linux-gnueabi-ranlib LD=arm-linux-gnueabi-ld MAKEDEPPROG=arm-linux-gnueabi-gcc
make install CC=arm-linux-gnueabi-gcc RANLIB=arm-linux-gnueabi-ranlib LD=arm-linux-gnueabi-ld

Download, build and install BIND:

wget http://ftp.isc.org/isc/bind9/9.10.2-P1/bind-9.10.2-P1.tar.gz
tar -xzf bind-9.10.2-P1.tar.gz
cd bind-9.10.2-P1
./configure --prefix= --host=arm-linux-gnueabi --sysconfdir=/etc --with-randomdev=no --with-openssl=/home/export/rootfs --with-ecdsa=yes --with-gost=no BUILD_CC=gcc
make
make install DESTDIR=/home/export/rootfs

Create a configuration file /etc/bind/named.conf with the following contents:

acl localnet {
	192.168.0.0/24;
        2003:44b9:4219:6400::/64;
	localhost;
};

options {
	directory "/var/cache/bind";
#       fowarders { 192.231.203.132; 192.231.203.3 };
	dnssec-validation auto;
	auth-nxdomain no;
        listen-on port 53 { 127.0.0.1; 192.168.0.254; }
	listen-on-v6 { 2001:44b9:4219:6400:250:43ff:fe01:835e; };
	recursion yes;
	allow-query { localnet; };
};

zone "." {
	type hint;
	file "/etc/bind/named.root";
};

zone "0.0.127.in-addr.arpa" {
        type master;
        file "/etc/bind/db.127";
};

zone "0.168.192.in-addr.arpa" {
  	type master;
	file "/etc/bind/db.192";
};

zone "home" {
  	type master;
	file "/etc/bind/home.zone";
};

The Access Control List (ACL) controls what hosts can query the DNS resolver. You will need to change these to suit your network.

Likewise for the listen-on fields - this binds BIND to these network interfaces.

The forwarders field is currently commented out. You can uncomment this, if you want your resolver to forward requests from other DNS servers upstream, such as your ISP. If it is commented out, then your resolver will contact root servers

The named.root file contains a list of root servers and their IP addresses. It can be downloaded using:

wget http://www.internic.net/domain/named.root

The following file allows reverse lookups for the localhost name. Create a file called /etc/bind/db.127 with the following contents:

;
; BIND reverse data file for local loopback interface
;
$TTL	604800
@	IN	SOA	localhost. root.localhost. (
			      1		; Serial
			 604800		; Refresh
			  86400		; Retry
			2419200		; Expire
			 604800 )	; Negative Cache TTL
;
@	IN	NS	localhost.
1.0.0	IN	PTR	localhost.

The following file allows reverse lookups for our resolver, 192.168.0.254. Doing a reverse lookup for 192.168.0.254 should return 'gateway.home'

Create a file called /etc/bind/db.192 with the following contents:

;
; BIND reverse data file for local subnet 192.168.0
;
$TTL    604800
@       IN      SOA     gateway.home. webuser.gateway.home. (
			      2		; Serial
			 604800		; Refresh
			  86400		; Retry
			2419200		; Expire
			 604800 )	; Negative Cache TTL
;
@       IN      NS  gateway.
254     IN      PTR gateway.home.

The following file can be used to lookup hosts on your local subnet. For example, looking up gateway.home should return the address 192.168.0.254. Looking up nas.home will return 192.168.0.253.

Create a file called /etc/bind/home.zone with the following contents:

;
; BIND data file for home domain
;
$TTL	604800
@	IN	SOA	home. root.home. (
			      2		; Serial
			 604800		; Refresh
			  86400		; Retry
			2419200		; Expire
			 604800 )	; Negative Cache TTL
;
		NS	gateway
gateway		A	192.168.0.254
nas		A	192.168.0.253