By default, +trace works when querying Bind server as it returns root hints as NS-list for “.”. However, +trace disables RD flag and the first query (dig +norecurse NS .) is REFUSED by unbound. The fix: In unbound.conf, change access-control: 10.0.0.0/8 allow to access-control: 10.0.0.0/8 allow_snoop Change allow to allow_snoop for all subnets served by […]
Creating a tunnel on Ubuntu Edit /etc/network/interface file and add this code auto gre1 iface gre1 inet static address netmask pointopoint pre-up iptunnel add gre1 mode gre local remote ttl 255 up ifconfig gre1 multicast post-down iptunnel del gre1 You might also need to “modprobe ip_gre” in some cases before activating the tunnel.
Hate it when Ubuntu unnecessarily mounts USB drives when you are doing some R&D. Here’s a quick way to disable it. $ gconftool-2 –type bool –set /apps/nautilus/preferences/media_automount false You can also use gconf-editor to set it to false. Once done, just set it to true again to make it auto-mount.
If you forgot your root password or to login to Ubuntu (for recovery) without the root password, follow these simple steps: While the computer boots, press ‘Esc’ as soon as the Grub loads to go into the menu. Press ‘e’ to edit the boot menu Select the kernel line and again press ‘e’ remove the […]
To hide the detailed information about your Apache web server, OS and plugins, you disable the ServerSignature directive by modifying your Apache configuration file: On CentOS vi /etc/httpd/conf/httpd.conf On Ubuntu vi /etc/apache2/apache2.conf Search for ServerSignature and change it to off ServerSignature Off Save the config and reload Apache to apply the change: On CentOS service […]