Hot answers tagged

122

Complete DNS server in ubuntu server 12. First of all change the ip address of your server form DHCP to STATIC for this use the following command sudo nano /etc/network/interfaces and add: auto eth0 iface eth0 inet static address 192.168.1.5 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 # dns-nameservers Restart ...


38

mDNS or Multicast DNS service It is provided by Avahi/Bonjour daemon, which lets small network computers to use names even if no central DNS is present. It uses by default the .local domain. If you are not using .local for your DNS server then set DNS after mDNS in nsswitch.conf (default) hosts: files mdns4_minimal dns [NOTFOUND=return] mdns4 Otherwise ....


22

Install the package xautomation, we need the command xte: sudo apt-get install xautomation Install the package x11-utils, we need the command xev: sudo apt-get install x11-utils Check the code for the two mouse buttons. Start the command xev in a terminal: xev Move the mouse in the new window Press your wheel left and wheel right. In my case, note the ...


14

You've rightly observed that, with both --bind and --rbind, you see directories under the bind mount. The difference is that, with --rbind but not with --bind, you see the contents of other bind mounts under the bind mount. As applied to your example, suppose for simplicity that /home/xyz/def and /home/xyz/mno are empty directories. Suppose further that ...


9

Fix for the problem is in file permitions and apparmor Apparmor fix full file copy-paste exclude first line root@c1:/etc/bind# cat /etc/apparmor.d/usr.sbin.named # vim:syntax=apparmor # Last Modified: Fri Jun 1 16:43:22 2007 #include <tunables/global> /usr/sbin/named flags=(complain) { #include <abstractions/base> #include <...


5

Fix Scrolling Speed and back/forward buttons on a Logitech G900 (should be the same for this one): xev didn’t work for my mouse, I used the command xinput to find out the device ID of my mouse first. To list the Input devices: # xinput ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer ...


5

I have not looked into the details yet, but the problem lies in this line: dnssec-validation auto; It seems that the version of bind9 in 16.04 enables dnssec-validation by default. Switching to: dnssec-validation no; should solve the problem.


5

The issue here is that you have competing methods of trying to start gpsd and set up the second. The first method you are using is systemd and socket activation. In this design, systemd sets up the second and waits for a connection to the socket. When something connects to the socket, systemd activates the service so it can respond. That's "socket ...


5

You are overdoing it. In your /etc/bind/named.conf.local file, you have already declared the snippet for reverse zone 190.168.192.in-addr.arpa i.e. 192.168.190: zone "190.168.192.in-addr.arpa" { type master; file "/etc/bind/db.192"; }; Now in /etc/bind/db.192 file, you just need to refer to the last octet of the IP address, not the whole ...


5

On /etc/apparmor.d/usr.sbin.named /var/log/named/** rw, /var/log/named/ rw, You must adjust permissions or dir here. Some people like to put logs in /var/log/named/ instead of having syslog do the heavy lifting.


4

There's a newer web app that might do what you are looking for called fmDNS (http://www.facilemanager.com/modules/fmdns/).


4

This is the important line from your netstat output relevant to the question you ask about UDP port 53 being listened on or not: udp 0 0 0.0.0.0:53 0.0.0.0:* This is indicative that something is listening on port 53 UDP. This is probably bind9. Usually I use sudo netstat -tulpn which points me at what process is using what, but ...


3

It is caused by the fact that you don't have execute permission on the directories. Fix this by using chmod o+x directory. Make sure you don't make files executable unless you want them to be. It is not dangerous for directories to be executable. It only means you're allowed to traverse the directory.


3

It could be due to the apparmor policy file. If you see in /var/log/syslog: Oct 30 12:07:40 sd-51351 kernel: [1269834.299538] type=1400 audit(1383131260.584:39): apparmor="DENIED" operation="open" parent=1968 profile="/usr/sbin/named" name="/var/named/run-root/usr/lib/x86_64-linux-gnu/openssl-1.0.0/engines/libgost.so" pid=1969 comm="named" requested_mask="r"...


3

This might fix the issue: sudo apt-get install -f bind9 If it doesn't, then this might fix the issue: sudo apt-get remove bind9 sudo apt-get install bind9 Failing that you may want to remove bind9 via dpkg directly (to avoid apt-get uninstalling whatever depends on it): sudo dpkg --remove bind9 sudo apt-get install -f bind9 If dpkg doesn't want to ...


3

1- You can open some package manager like: Muon Package Manager, ..... then easily search two names , apache2 and bind9. Check and tick all you need and then press install. 2- The easiest way using terminal is: sudo apt-get install apache2 sudo apt-get install bind9


3

Add comment=x-gvfs-hide to mount options (4th column) in /etc/fstab. This will tell your file manager to hide that mount. In your case: bindfs#/mnt/sda5/tobi/Downloads /home/tobi/Downloads fuse user,comment=x-gvfs-hide 0 0


3

As discussed in the comments. The OP needed to register the nameservers at their domain registrar. The OP was able to confirm the BIND server was reporting the correct DNS information: nslookup crisubogdan.com 127.0.0.1 This runs a lookup at 127.0.0.1 (localhost). Since this reported correctly, the problem was most likely at the registrar with either ...


3

There's an excellent discussion of this at https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-a-caching-or-forwarding-dns-server-on-ubuntu-14-04. What you're doing is basically correct, except that you need set "recursion yes" even if your DNS setup requires your server to be a forwarding-only server. This may seem counter-intuitive, ...


3

Sorry for the delay of answer mate, strange that nobody have already answered to that question of yours. I guess you already figured it out but just in case... So, you shouldn't decide where to put the file yourself. As said in ubuntu documentation, Apparmor doesn't allow to place the files where ever you want. Just put on your slave named.conf.local ...


3

Read man 8 mount. It says (emphasis added): Bind mounts Remount part of the file hierarchy somewhere else. The call is: mount --bind olddir newdir or by using this fstab entry: /olddir /newdir none bind After this call the same contents are accessible in two places. One can also remount a single file (on a single file). It's also ...


2

This is what I've done (after some trial and error): $ cat /etc/apparmor.d/local/usr.sbin.named # Site-specific additions and overrides for usr.sbin.named. # For more details, please see /etc/apparmor.d/local/README. /var/lib/samba/private/named.conf r, /var/lib/samba/private/dns.keytab kwr, /usr/lib/samba/** m, /var/lib/samba/private/dns/** krw, /...


2

Plesk and Apparmor have conflict(s), I am only aware of the conflict between Apparmor's default Bind9 profile and Plesk's configuration. The official documentation says to uninstall Apparmor as it is not supported, I think this is unwise as it discards a fair amount of protection. You could just adjust the Apparmor profile for bind9, edit /etc/apparmor.d/...


2

this may be helpful, I don't think it will work as is on ubuntu but you should be able to adapt it easily. A simple named.conf which forwards all DNS queries to another nameserver, and caches the answers for possible reuse. Tested under OpenBSD 4.7 BETA with $ named -v BIND 9.4.2-P2 This type of configuration is useful to ...


2

After much flailing about, I found that to get the two small triangular buttons under the thumb (next to the thumb wheel) to work as back/forward with my Logitech MX Master, I had to: Install imwheel, and then edit ~/.imwheelrc to look like this: ".*" None, Up, Button4, 5 None, Down, Button5, 5 Control_L, Up, Control_L|Button4 Control_L, Down,...


2

Create a virtual machine, boot it up, and apply your install there. They, if it is OK, install it in your physical machine; if not, delete the VM. virtual machine inside ubuntu may be useful to you. In Linux, the sandbox IS a VM.


2

Yes sure you can. for your case you have just to insert the external IP in forwarders in the /etc/bind/named.conf.options file Sudo nano /etc/bind/named.conf.options forwarders { # Give here your IP }; Please read this to learn the full configuration of bind9 in Ubuntu. How do I do a complete BIND9 DNS Server Configuration with a hostname?


Only top voted, non community-wiki answers of a minimum length are eligible