DNS, dnsmasq, dhcpd wollen nicht miteinander

MIKQ

Active Member
Habe Probleme mit dnsmasq die so in der Doku und FAQ nicht auftauchen.
Irgendwie funtkioniert die dns Auflösung in die Welt, aber wenn ich Versuche über die Shell dnsmasq zu steuern bekommen ich nur:
Code:
#/usr/local/sbin\>dnsmasq -i xl0 -z
# -bash: dnsmasq: command not found

Manchmal gibt die Shell auch folgendes aus:
Code:
dnsmasq: failed to bind listening socket for fe80:2::250:4ff:f usw.. Address already in use

Wo finde ich den Prozess?
Code:
# ps auwx
USER       PID %CPU %MEM   VSZ   RSS TT  STAT  STARTED       TIME COMMAND
root         1  0.0  0.1   448   276 ??  Is    12:38AM    0:00.01 /sbin/init
root      5906  0.0  0.5   888  1312 ??  Ss    12:39AM    0:00.75 /usr/sbin/ppp -ddial netcol
_ppp      8755  0.0  0.2   376   640 ??  S     12:39AM    0:00.19 /usr/sbin/pppoe -i fxp0
root      5217  0.0  0.3   400   664 ??  Is    12:39AM    0:00.01 syslogd: [priv] (syslogd)
_syslogd 23801  0.0  0.3   420   672 ??  S     12:39AM    0:00.03 syslogd -a /var/empty/dev/log
root     17913  0.0  0.1   436   368 ??  Is    12:39AM    0:00.01 pflogd: [priv] (pflogd)
_pflogd  15187  0.0  0.1   500   312 ??  S     12:39AM    0:00.08 pflogd: [running] -s 116 -i pflog0 -f /var/log/pflog (pflogd)
_dhcp    12616  0.0  0.3   476   704 ??  Is    12:39AM    0:00.00 /usr/sbin/dhcpd xl0
root       200  0.0  0.3   352   688 ??  Is    12:39AM    0:00.01 inetd
root      5079  0.0  0.6  1072  1428 ??  Ss    12:39AM    0:00.06 sendmail: accepting connections (sendmail)
root     20288  0.0  0.4   548  1132 ??  Is    12:39AM    0:00.00 /usr/sbin/sshd
nobody   16866  0.0  0.3   524   824 ??  I     12:39AM    0:00.02 /usr/local/sbin/dnsmasq -i xl0 -z
nobody   28041  0.0  0.3   492   760 ??  Is    12:39AM    0:00.01 /usr/local/sbin/noip2
root     30487  0.0  0.3   624   772 ??  Ss    12:39AM    0:00.01 cron
root       185  0.0  0.9  3348  2216 ??  Is    12:42AM    0:00.06 sshd: User [priv] (sshd)
User     2137  0.0  0.7  3320  1848 ??  S     12:42AM    0:00.37 sshd: User@ttyp0 (sshd)
User    22911  0.0  0.6   968  1524 p0  Is    12:42AM    0:00.04 -bash (bash)
root     27092  0.0  0.6   824  1560 p0  I     12:42AM    0:00.06 -bash (bash)
root     18994  0.0  0.2   368   408 p0  S     12:59AM    0:00.01 ksh
root     27918  0.0  0.6   712  1544 p0  S      1:01AM    0:00.02 bash
root     11568  0.0  0.1   328   264 p0  R+     1:02AM    0:00.00 ps -auwx
root      5733  0.0  0.3   228   728 C0  Is+   12:39AM    0:00.01 /usr/libexec/getty std.9600 ttyC0
root      1008  0.0  0.3   256   736 C1  Is+   12:39AM    0:00.01 /usr/libexec/getty std.9600 ttyC1
root     13559  0.0  0.3   216   732 C2  Is+   12:39AM    0:00.01 /usr/libexec/getty std.9600 ttyC2
root     24536  0.0  0.3   320   728 C3  Is+   12:39AM    0:00.01 /usr/libexec/getty std.9600 ttyC3
root     30859  0.0  0.3   264   720 C5  Is+   12:39AM    0:00.01 /usr/libexec/getty std.9600 ttyC5

Die Windows Mühlen nehmen offensichtlich den richtigen Nameserver (192.168.0.4):
Code:
C:\Dokumente und Einstellungen\User2>nslookup MEINTollerANDERERServer
Server:  OpenBSD.my.domain
Address:  192.168.0.4

Kriegen aber nix zurück.
Offensichtlich klappt das Zusammenspiel zwischen DHCPD und DNS nicht.

Habe die /etc/dnsmasq.conf wie folgt editiert:
Code:
# If you want dnsmasq to listen for DHCP and DNS requests only on
# specified interfaces (and the loopback) give the name of the
# interface (eg eth0) here.
# Repeat the line for more than one interface.
interface=xl0

Ohne Erfolg?
Eine
Code:
/etc/ethers
existiert auf meinem OpenBSD aucht nicht. Ist das normal?
Wo kann ich noch suchen?

Gruß
MIKQ
 
Wo finde ich den Prozess?
Code:
# ps auwx
USER       PID %CPU %MEM   VSZ   RSS TT  STAT  STARTED       TIME COMMAND
root         1  0.0  0.1   448   276 ??  Is    12:38AM    0:00.01 /sbin/init
root      5906  0.0  0.5   888  1312 ??  Ss    12:39AM    0:00.75 /usr/sbin/ppp -ddial netcol
_ppp      8755  0.0  0.2   376   640 ??  S     12:39AM    0:00.19 /usr/sbin/pppoe -i fxp0
root      5217  0.0  0.3   400   664 ??  Is    12:39AM    0:00.01 syslogd: [priv] (syslogd)
_syslogd 23801  0.0  0.3   420   672 ??  S     12:39AM    0:00.03 syslogd -a /var/empty/dev/log
root     17913  0.0  0.1   436   368 ??  Is    12:39AM    0:00.01 pflogd: [priv] (pflogd)
_pflogd  15187  0.0  0.1   500   312 ??  S     12:39AM    0:00.08 pflogd: [running] -s 116 -i pflog0 -f /var/log/pflog (pflogd)
_dhcp    12616  0.0  0.3   476   704 ??  Is    12:39AM    0:00.00 /usr/sbin/dhcpd xl0
root       200  0.0  0.3   352   688 ??  Is    12:39AM    0:00.01 inetd
root      5079  0.0  0.6  1072  1428 ??  Ss    12:39AM    0:00.06 sendmail: accepting connections (sendmail)
root     20288  0.0  0.4   548  1132 ??  Is    12:39AM    0:00.00 /usr/sbin/sshd
[B][COLOR="Red"]nobody   16866  0.0  0.3   524   824 ??  I     12:39AM    0:00.02 /usr/local/sbin/dnsmasq -i xl0 -z[/COLOR][/B]
nobody   28041  0.0  0.3   492   760 ??  Is    12:39AM    0:00.01 /usr/local/sbin/noip2
root     30487  0.0  0.3   624   772 ??  Ss    12:39AM    0:00.01 cron
root       185  0.0  0.9  3348  2216 ??  Is    12:42AM    0:00.06 sshd: User [priv] (sshd)
User     2137  0.0  0.7  3320  1848 ??  S     12:42AM    0:00.37 sshd: User@ttyp0 (sshd)
User    22911  0.0  0.6   968  1524 p0  Is    12:42AM    0:00.04 -bash (bash)
root     27092  0.0  0.6   824  1560 p0  I     12:42AM    0:00.06 -bash (bash)
root     18994  0.0  0.2   368   408 p0  S     12:59AM    0:00.01 ksh
root     27918  0.0  0.6   712  1544 p0  S      1:01AM    0:00.02 bash
root     11568  0.0  0.1   328   264 p0  R+     1:02AM    0:00.00 ps -auwx
root      5733  0.0  0.3   228   728 C0  Is+   12:39AM    0:00.01 /usr/libexec/getty std.9600 ttyC0
root      1008  0.0  0.3   256   736 C1  Is+   12:39AM    0:00.01 /usr/libexec/getty std.9600 ttyC1
root     13559  0.0  0.3   216   732 C2  Is+   12:39AM    0:00.01 /usr/libexec/getty std.9600 ttyC2
root     24536  0.0  0.3   320   728 C3  Is+   12:39AM    0:00.01 /usr/libexec/getty std.9600 ttyC3
root     30859  0.0  0.3   264   720 C5  Is+   12:39AM    0:00.01 /usr/libexec/getty std.9600 ttyC5
Meinst Du dnsmasq?
 
Zurück
Oben