标签: bind

BIND9 不会解析

出于某种原因,当我nslookup routernslookup KLAMESERVER我的 router.Klamenick.com 或 KLAMESERVER.Klamenick.com 内部域时,它总是说:

Server:         192.168.0.2
Address:        192.168.0.2#53
** server can't find router.Klamenick.com: SERVFAIL
Run Code Online (Sandbox Code Playgroud)

我检查了我配置的所有文档,以检查我的域是否在它们之后有句点,并且确实如此。它一定是别的东西。

下面是我配置的文件:

/etc/bind/named.conf.options

options {
directory "/var/cache/bind";

// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk.  See http://www.kb.cert.org/vuls/id/800113

// If your ISP provided one or more IP addresses for stable 
// nameservers, you probably want to use them …
Run Code Online (Sandbox Code Playgroud)

server networking dns bind 16.04

3
推荐指数
1
解决办法
1万
查看次数

isc_stdio_open '/var/log/bind9/query.log' 失败:权限被拒绝

/etc/apparmor.d/usr.sbin.named 

/var/log/bind9/** rw,
/var/log/bind9/ rw,

/etc/bind/named.conf.options
options {
        directory "/var/cache/bind";
        auth-nxdomain no;
        listen-on-v6 { any; };
        statistics-file "/var/cache/bind/named.stats";
        rrset-order {order cyclic;};
    allow-transfer { 127.0.0.1; };
};
logging {
        channel b_query {
                file "/var/log/bind9/query.log" versions 2 size 1m;
                print-time yes;
                severity info;
        };
        category queries { b_query; };
};
Run Code Online (Sandbox Code Playgroud)

服务 bind9 状态

isc_stdio_open '/var/log/bind9/query.log' 失败:权限被拒绝

我已经在其中创建了 bind9/var/logroot:bind获得了许可755

我已经重新启动了 apparmor 和 bind9 相同的错误。怎么了 ?

server bind 16.04

3
推荐指数
3
解决办法
9790
查看次数

升级到 22.04 后 xmodmap 不再工作

今天早上我升级到了最新的 22.04 LTS 版本,之后我的 xmodmap 脚本不再工作,我很好奇是否有什么变化导致脚本不再工作。我使用这个脚本,这样我就可以将“jikl”与 CAPSLOCK 结合起来作为我的箭头键,以便于导航。这是我的 xmodmap 脚本:

keycode 66 = Mode_switch
keysym j = j J Left
keysym l = l L Right
keysym i = i I Up
keysym k = k K Down
Run Code Online (Sandbox Code Playgroud)

updates scripts xmodmap bind keys

3
推荐指数
1
解决办法
2203
查看次数

systemd/init 绑定到端口

我在 Beaglebone Green 上启动 GPSD 时遇到问题。我收到套接字绑定错误:

root@BBG1:/etc/init# gpsd -D3 -n -N /dev/ttyUSB0
gpsd:INFO: launching (Version 3.16)
gpsd:ERROR: can't bind to IPv4 port gpsd, Address already in use
gpsd:ERROR: maybe gpsd is already running!
gpsd:ERROR: can't bind to IPv6 port gpsd, Address already in use
gpsd:ERROR: maybe gpsd is already running!
gpsd:INFO: command sockets creation failed, netlib errors -1, -1
Run Code Online (Sandbox Code Playgroud)

看起来这个问题在这些迷你开发板(包括 Raspberry Pi)上很常见,但似乎对大多数人来说解决问题的方法对我不起作用。据我所知,这是因为systemd/init正在击败 gspd。

root@BBG1:/etc/init# netstat -lnpt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address …
Run Code Online (Sandbox Code Playgroud)

gps bind systemd

2
推荐指数
1
解决办法
9855
查看次数

标签 统计

bind ×4

16.04 ×2

server ×2

dns ×1

gps ×1

keys ×1

networking ×1

scripts ×1

systemd ×1

updates ×1

xmodmap ×1