Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam,
Mam dziwny problem otóz serwer dhcp (dhcp3-server) nagle przestal przydzielac dnsy.
Komputery maja przydzielone ip a dnsów niestety nie. Po naprawieniu połączenia
z poziomu windowsa xp znowu wszystko jest ok przez 2-3 godziny, a potem dnsy znówu
giną i tak w kółko. O co może chodzić???
Offline
Czesc
Problem jest na jednej stacji czy na wszytskich stacjach korzystajacych z tego dhcp? Sprawdzales moze logi?
Offline
Hej
Pokaż co masz w dhcpd.conf
Offline
Problem jest na wszystkich stacjach, dnsy po prostu giną albo są nieprzydzielane. Po naprawieniu połaczenia wszystko wraca do normy. W sieci nie ma drugiego serwera dhcp.
Dhcp.conf ? Proszę bardzo...
# Sample configuration file for ISC dhcpd for Debian
#
# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $
#
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;
# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 600;
max-lease-time 7200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
subnet 192.168.0.0 netmask 255.255.255.0 {
}
# This is a very basic subnet declaration.
#subnet 10.254.239.0 netmask 255.255.255.224 {
# range 10.254.239.10 10.254.239.20;
# option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
#}
# This declaration allows BOOTP clients to get dynamic addresses,
# which we don't really recommend.
#subnet 10.254.239.32 netmask 255.255.255.224 {
# range dynamic-bootp 10.254.239.40 10.254.239.60;
# option broadcast-address 10.254.239.31;
# option routers rtr-239-32-1.example.org;
#}
# A slightly different configuration for an internal subnet.
#subnet 10.5.5.0 netmask 255.255.255.224 {
# range 10.5.5.26 10.5.5.30;
option domain-name-servers 194.204.152.34, 192.204.159.1;
option domain-name "muminek.net";
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
default-lease-time 7200;
max-lease-time 14400;
# Hosts which require special configuration options can be listed in
# host statements. If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.
#host passacaglia {
# hardware ethernet 0:0:c0:5d:bd:95;
# filename "vmunix.passacaglia";
# server-name "toccata.fugue.com";
#}
# Fixed IP addresses can also be specified for hosts. These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP. Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
host bartek{
hardware ethernet 00:0F:EA:D8:00:B8;
fixed-address 192.168.0.20;
}
host maja{
hardware ethernet 00:02:A5:1F:04:9B;
fixed-address 192.168.0.21;
}
host zuza{
hardware ethernet 52:54:00:E5:16:40;
fixed-address 192.168.0.22;
}
ITD.....
Offline
Ja jednak stawiam ze jakas stacja jednak ma serwer dhcp uruchomiony
Offline
a ja mysle ze trzeba wywalic te linijki
option domain-name "example.org"; option domain-name-servers ns1.example.org, ns2.example.org;
i powinno byc ok
Offline
[quote=barp21]Problem jest na wszystkich stacjach, dnsy po prostu giną albo są nieprzydzielane. Po naprawieniu połaczenia wszystko wraca do normy. W sieci nie ma drugiego serwera dhcp.
Dhcp.conf ? Proszę bardzo...
...
# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;[/quote]
Skomentuj powyzsze linie.
[quote=barp21]# DHCP server to understand the network topology.
subnet 192.168.0.0 netmask 255.255.255.0 {
}
# This is a very basic subnet declaration.
#subnet 10.254.239.0 netmask 255.255.255.224 {
# range 10.254.239.10 10.254.239.20;
# option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
#}[/quote]
Nie wiem ktora podsiec dla Ciebie ma posiadac DNSy. Dla tej ktora je ma miec dopisz
option domain-name-servers 194.204.152.34, 192.204.159.1;
badz inne Tobie odpowiednie lub wstaw ta linie w sekcje globalna w miejsce lini z "nsX.example.org" wtedy wszystkie stacje beda otrzymywac te DNSy jesli w podsekcji sieci nie zadano inaczej.
Offline
Time (s) | Query |
---|---|
0.00012 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00164 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.15.239.50' WHERE u.id=1 |
0.00093 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.15.239.50', 1732309479) |
0.00055 | SELECT * FROM punbb_online WHERE logged<1732309179 |
0.00076 | DELETE FROM punbb_online WHERE ident='13.58.38.184' |
0.00072 | DELETE FROM punbb_online WHERE ident='185.191.171.12' |
0.00076 | DELETE FROM punbb_online WHERE ident='3.145.66.104' |
0.00099 | SELECT topic_id FROM punbb_posts WHERE id=106167 |
0.00009 | SELECT id FROM punbb_posts WHERE topic_id=13005 ORDER BY posted |
0.00127 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=13005 AND t.moved_to IS NULL |
0.00006 | SELECT search_for, replace_with FROM punbb_censoring |
0.00349 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=13005 ORDER BY p.id LIMIT 0,25 |
0.00081 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=13005 |
Total query time: 0.01223 s |