-
Recent Posts
Archives
Categories
Meta
Author Archives: Andy
rndc
Flush the DNS cache with Bind 9.2.0 or later rndc flush For previous versions simply kill named and restart it. Reload bind rndc reload rndc reload domain rndc reload domain1 domain2 …
nslookup
Non-interactive mode Get the A record for domain nslookup domain Get the reverse resolution for an IP nslookup ip Get the reverse resolution using an alternate server nslookup ip dns_server Get the MX record for a domain using an alternate … Continue reading
Zone files
Domain zone file $TTL 3h ; value that instructs non-authoritatively DNS servers how long to keep the data in cache @ TTL IN SOA primary_nameserver. email_address. ( 1000 ; serial number – to be increased with each zone file modification … Continue reading
Bind: named.conf structure
named.conf sections The named.conf consists of a general section (options, logging etc) and the zones section. All lines (except the opening curly brackets only rows) must end with a semicolon. The named.conf general section The option container in named.conf. options{ … Continue reading
NFS: Network File System
By using NFS a server shares a directory with a client. CAUTION: the com between the server and the client is done in clear so it’s basically not safe. NFS Server Configuration 1. First you need to make sure the … Continue reading
Yum install from local repository
In case you ever need to install by yum something local (from a CD for instance in case you don’t have Internet access and you need to compile the ethernet card’s loadable module) you may use this: yum –disablerepo \* … Continue reading
CentOS IP configuration files
These files and their contents might be specific/relevant in part only to cPanel /etc/sysconfig/networking/devices/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0 Both of the above have this content: DEVICE=eth0 BOOTPROTO=static BROADCAST=x.x.x.255 HWADDR=x:x:x:x:x:x IPADDR=ip_in_question NETMASK=255.255.255.0 NETWORK=x.x.x.0 ONBOOT=yes /etc/sysconfig/network-scripts/ifcfg-ethx-range0 IPADDR_START=85.9.22.8 IPADDR_END=85.9.22.9 CLONENUM_START=0 NETMASK=255.255.255.0 /etc/ips (this contains only the … Continue reading
eAccelerator, IonCube, Zendopt, Suhosin and Source guardian without Apache recompile
On cPanel servers there’s a very easy way to install eAccelerator, IonCube, Zendopt, Suhosin and Source guardian without an Apache recompile with the PHP extension manager: /scripts/phpextensionmgr The usage is very straightforward. For instance to install IonCube you simply run … Continue reading
Boot resources
GRUB http://www.linuxforums.org/forum/linux-tutorials-howtos-reference-material/9398-solving-boot-problems-grub-2nd-edition.html http://tldp.org/HOWTO/Software-RAID-HOWTO-7.html