PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme mit DNS



Pecos
18.08.08, 19:51
Hallo,

habe nach langer Zeit mal wieder ein Problem wo ich nicht richtig weiß wo ich ansetzen soll!

Also es geht um einen Server. Bisher lief er auf Debian Sarge wurde aber auf Etch geupdatet.

Seit dem ist der Server nicht mehr über seinen Domainnamen erreichbar (server.intranet.aeg). Über den Namen "server" ist es weiterhin problemlos möglich!

Das bereitet jetzt einige Probleme, da einige Programme und Scripts noch auf den langen Namen verweisen, was sich leider auch nicht ohne weiteres ändern lässt.

Es kommt bind9 zum Einsatz.

"host server" brachte folgende Ausgabe:


19:23/0 server ~ # host server
server.intranet.aeg A record not found, server failure



Wenn Ihr mehr Infos braucht dann bitte nachfragen!

Danke schonmal fürs lesen

cane
18.08.08, 20:31
Dann schau doch mal ins Zonefile des BIND.

mfg
cane

Pecos
18.08.08, 21:52
Du meinst sicher die named.conf?

/etc/bind/named.conf


21:17/0 server /etc/bind # cat named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";

// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};

// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912

zone "localhost" {
type master;
file "/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};

zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};

zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};

// zone "com" { type delegation-only; };
// zone "net" { type delegation-only; };

// From the release notes:
// Because many of our users are uncomfortable receiving undelegated answers
// from root or top level domains, other than a few for whom that behaviour
// has been trusted and expected for quite some length of time, we have now
// introduced the "root-delegations-only" feature which applies delegation-only
// logic to all top level domains, and to the root domain. An exception list
// should be specified, including "MUSEUM" and "DE", and any other top level
// domains from whom undelegated responses are expected and trusted.
// root-delegation-only exclude { "DE"; "MUSEUM"; };

include "/etc/bind/named.conf.local";

include "/etc/bind/named.conf.linuxmuster";


/etc/bind/named.conf.options


21:19/0 server /etc/bind # cat named.conf.options
options {
directory "/var/cache/bind";

// If there is a firewall between you and nameservers you want
// to talk to, you might need to uncomment the query-source
// directive below. Previous versions of BIND always asked
// questions using port 53, but BIND 8.1 and later use an unprivileged
// port by default.

// query-source address * port 53;

// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.

forwarders {
10.16.1.254;
};
# Enable the next entry to prefer usage of the name
# server declared in the forwarders section.

forward first;

# The listen-on record contains a list of local network
# interfaces to listen on. Optionally the port can be
# specified. Default is to listen on all interfaces found
# on your system. The default port is 53.

#listen-on port 53 { 127.0.0.1; };
listen-on port 53 { 10.16.0.0/12; };

# The listen-on-v6 record enables or disables listening
# on IPV6 interfaces. Allowed values are 'any' and 'none'
# or a list of addresses. IPv6 can only be used with
# kernel 2.4 in this release.

#listen-on-v6 { any; };

# The next three statements may be needed if a firewall
# stands between the local server and the internet.

#query-source address * port 53;
#transfer-source * port 53;
#notify-source * port 53;

# The allow-query record contains a list of networks or
# IP-addresses to accept and deny queries from. The
# default is to allow queries from all hosts.

#allow-query { 127.0.0.1; };
allow-query { 10.16.0.0/12; };

# If notify is set to yes (default), notify messages are
# sent to other name servers when the the zone data is
# changed. Instead of setting a global 'notify' statement
# in the 'options' section, a separate 'notify' can be
# added to each zone definition.

notify no;

auth-nxdomain no; # conform to RFC1035

};



/etc/bind/named.conf.local besteht nur aus Kommentaren! Also wohl unwichtig....


/etc/bind/named.conf.linuxmuster


21:23/0 server /etc/bind # cat named.conf.linuxmuster
//
// Do any local configuration here
//

// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";

include "/etc/bind/rndc.key";

zone "intranet.aeg" {
type master;
file "/etc/bind/db.linuxmuster";
allow-update { key rndc-key; };
notify yes;
};

zone "10.in-addr.arpa" {
type master;
file "/etc/bind/db.10";
allow-update { key rndc-key; };
notify yes;
};

kworx
18.08.08, 22:53
Deaktiviere mal das in der /etc/bind/named.conf.options

forward first;

Falls es dann immer noch nicht geht, dann poste mal die /etc/bind/db.linuxmuster.

Pecos
19.08.08, 09:39
Ne geht immer noch nicht :/


Vorsicht ist was länger bei den ganzen Rechnern...
Sind ein paar Hostnamen dabei, die eigentlich gar nicht auf dem Server eingerichtet sind.

Gibt es eine möglichkeit das wieder auf den Ursprung zurück zusetzen?


09:38/0 server ~ # cat /etc/bind/db.linuxmuster
$ORIGIN .
$TTL 3600 ; 1 hour
intranet.aeg IN SOA server.intranet.aeg. postmaster.intranet.aeg. (
2004031537 ; serial
10800 ; refresh (3 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
38400 ; minimum (10 hours 40 minutes)
)
NS server.intranet.aeg.
MX 10 server.intranet.aeg.
$ORIGIN intranet.aeg.
$TTL 7200 ; 2 hours
\032Bio-Sammlung A 10.16.20.5
TXT "3196492aa7cc5e0f08bd5acf5842230595"
administrator-desktop A 10.16.9.3
TXT "0031e07617f6f6b3550eef6e819cb20cf0"
AEG A 10.16.19.2
TXT "31335a924baf834ac05c77fcda77e2ee9a"
aeg-283d17eb5a5 A 10.16.9.5
TXT "319304e6ffb476fc627361bc486a5a0b2f"
aeg-8a8f2686bc2 A 10.16.16.16
TXT "31c91e8c4d09560622bbf6d0eabef0dcd3"
AEG-EK-AP A 10.16.15.254
TXT "3150c432d7b87be6eee1840cca282bd4fd"
aeg-f134ee75d7d A 10.16.9.3
TXT "3131e07617f6f6b3550eef6e819cb20cf0"
AEG-IT-AP A 10.16.12.254
TXT "310de43c04a36ee053daef815e2b3e3eb4"
aeg-qrens5zu2lk A 10.16.9.1
TXT "319304e6ffb476fc627361bc486a5a0b2f"
AEG-SLZ-AP A 10.16.12.254
TXT "310de43c04a36ee053daef815e2b3e3eb4"
AEG1 A 10.16.20.5
TXT "3196492aa7cc5e0f08bd5acf5842230595"
Alex A 10.16.21.11
TXT "31dbff1a9d2a4b858287326d680355f82f"
BEAMER A 10.16.24.1
TXT "31312fbad98b6f8a0f689a62872394183e"
bio-notebook A 10.16.20.3
TXT "31dc42de5feb91e193f46afb91aec8e21d"
bio-samm A 10.16.20.18
TXT "31ef8142407c822c64337ed03dd90d758e"
Ch-Vorb A 10.16.18.2
TXT "3115e429f2064b6b6a6ce11c3117b7d44c"
Chemie\032AEG A 10.16.18.3
TXT "315ddb5287bea9e17f6ddf8a2d2739fc73"
dasauge A 10.16.1.3
TXT "31f0e5dbfe05f863cd6a3f29e3e9a189e1"
grinfo01 A 10.16.10.1
TXT "31c2af70728f5c364e842f0937c162b7d8"
grinfo02 A 10.16.10.2
TXT "31cebe4270cb135b0431c1f505126565ec"
grinfo03 A 10.16.10.3
TXT "312991acded0aa6cb30e35970300d91872"
grinfo04 A 10.16.10.4
TXT "312de4c19d41b7118c515e1e1cc3bac20d"
grinfo05 A 10.16.10.5
TXT "3150197df092002a66cb7c2012de69f8d4"
grinfo06 A 10.16.10.6
TXT "314605f84f23b885544f85a6f37fe413cc"
grinfo07 A 10.16.10.7
TXT "31aab20ae62555b0081f5a4b57a6113230"
grinfo08 A 10.16.10.8
TXT "314371c5e1a379140adf2506e8c3db07ce"
grinfo09 A 10.16.10.9
TXT "31d3c255422da383b421e5196f344b1749"
grinfo10 A 10.16.10.10
TXT "31ed35a25ed405ac2a99b2eb69b707e0ae"
grinfo11 A 10.16.10.11
TXT "3163f80aefad60ae88b2d17e9fe6c65992"
grinfo12 A 10.16.10.12
TXT "310112c8c88ba099baa1608d3857295ac4"
grinfo13 A 10.16.10.13
TXT "31459e8b49d437042df2d25889ccc65f9f"
grinfo14 A 10.16.10.14
TXT "31de2ba69b0df29966f1f15ed2e9092390"
grinfo15 A 10.16.10.15
TXT "314d020f05e7c9d4d92699e1eefde51f37"
grinfo16 A 10.16.10.16
TXT "315de4393adc87fe51869c654033640176"
grinfo17 A 10.16.10.17
TXT "31484eed687c83ba9eb47bd129525bfe31"
grinfo18 A 10.16.10.18
TXT "31c2b715280e5d2041a09c2da9f1e3576d"
$TTL 3600 ; 1 hour
ipcop A 10.16.1.254
$TTL 7200 ; 2 hours
iPod A 10.16.22.1
TXT "31e42c70e8c6ce2f0453e6c4a2f8a51f3d"
it A 10.16.9.2
TXT "31856f42e0dd4117a79a441473fc237583"
IT-CHRIS A 10.16.9.2
TXT "310c3aa88a582bbe19984d8be08de71408"
it-drucker A 10.16.9.253
TXT "00adea819ee592d98571ac64428b7ec74b"
IT-MARC A 10.16.9.6
TXT "31ce5054d4808d901b425d2c735a83ee5d"
it-stefan A 10.16.9.5
TXT "319304e6ffb476fc627361bc486a5a0b2f"
it1 A 10.16.9.5
TXT "319304e6ffb476fc627361bc486a5a0b2f"
it2 A 10.16.9.2
TXT "31856f42e0dd4117a79a441473fc237583"
it4 A 10.16.9.4
TXT "313e2da88605bace3901d72762777a812b"
Karstens-Laptop A 10.16.22.2
TXT "313cfe1d905e5a0da69c4c79c7c9719e22"
klamottenkiste A 10.16.21.2
TXT "31fbcb148efc91119aa7f46174751750bc"
klinfo-drucker A 10.16.11.253
TXT "00df6fbca6e876ae84fde72cda5146b667"
klinfo01 A 10.16.10.1
TXT "31c2af70728f5c364e842f0937c162b7d8"
klinfo02 A 10.16.11.2
TXT "3121bfb416d3f91fd8a71d99a8d7d2f09a"
klinfo03 A 10.16.11.3
TXT "31c8822f7f4b380e3e45e9d968142c15ad"
klinfo04 A 10.16.11.4
TXT "3181d161d80d5c45fbee43f100cbb2327c"
klinfo05 A 10.16.11.5
TXT "31b8b215782cabe0a586be7ecdbdbb3af4"
klinfo06 A 10.16.11.6
TXT "31ae3dc1f6b558a2d06cd953041a706d4a"
klinfo07 A 10.16.11.7
TXT "31d7819b5cf83579edcf32764700a3481c"
klinfo08 A 10.16.11.8
TXT "31f4b360a43acef51702c241f6eb523372"
klinfo09 A 10.16.11.9
TXT "3131e07617f6f6b3550eef6e819cb20cf0"
lap A 10.16.16.11
TXT "310416a173a3e447c13286e136a62494ad"
lap01 A 10.16.16.1
TXT "31bddec09d4e43f1d35c6c69d53ac287e0"
lap04 A 10.16.16.4
TXT "31be405a4a94e942d7485d8e52141511b9"
lap05 A 10.16.16.5
TXT "3172b2ec84d3e9232ea64b86f33f7f7a62"
lap06 A 10.16.16.6
TXT "31a90b0d6d6d3a0a358d4b78fa4292b42c"
lap07 A 10.16.1.5
TXT "317d5e89b0dc66c828e236a8c8afec0c68"
lap08 A 10.16.16.8
TXT "3154dc5172ef88bd79061f7107b9179cc3"
lap09 A 10.16.16.9
TXT "312e2e2278460d5f2bd1e34c21b68aaf91"
lap13 A 10.16.16.13
TXT "31b673489f7286e5eccb2402bb8ff43e8b"
lap14 A 10.16.16.14
TXT "313a3480aa35dd4a01470f28d48a12f0da"
lap15 A 10.16.16.15
TXT "3112d8b0dcebe00e064f01ff123cc88faa"
lapl-45 A 10.16.21.4
TXT "319a71bb4db9a16e928593e30313d4282a"
laptop A 10.16.21.5
TXT "314997d78acc07748f48d9ecba242295d4"
laser-grinfo A 10.16.10.253
TXT "007e2bc743f9278aa9b7e88ea118f25b31"
laser-klinfo A 10.16.11.253
TXT "00df6fbca6e876ae84fde72cda5146b667"
laser-slz A 10.16.12.253
TXT "318621af2025f787c37ff7e328ca52ff3e"
Linksys\032WAP54G A 10.16.9.254
TXT "319c31507f3c3cb6828389449443cf224a"
LZ01 A 10.16.13.1
TXT "3196675a03c7a66bd5a2645867d97991ca"
LZ1 A 10.16.13.1
TXT "3196675a03c7a66bd5a2645867d97991ca"
LZ2 A 10.16.13.2
TXT "31d25f5b9df8d9f07543cf7ae7b0353ef7"
max-0285ab77671 A 10.16.9.4
TXT "311f658fb6d77a8bded6d975b463b3968b"
mazepc A 10.16.9.3
TXT "0031e07617f6f6b3550eef6e819cb20cf0"
mini-pc A 10.16.20.1
TXT "31d609f960c939c21a0af51163588061e6"
mraum A 10.16.14.1
TXT "31399e427e10f7bcb65d50192b0d47b82f"
mraum01 A 10.16.14.1
TXT "31399e427e10f7bcb65d50192b0d47b82f"
msn A 10.16.9.6
TXT "31ce5054d4808d901b425d2c735a83ee5d"
PC A 10.16.21.9
TXT "312f6b331a618fb450ac3c7bbdb16025ef"
PHYSIK01 A 10.16.19.1
TXT "3162471dc24c52e4c01465dd36a3ba2898"
$TTL 3600 ; 1 hour
server A 10.16.1.1
$TTL 7200 ; 2 hours
slz01 A 10.16.12.1
TXT "31255018f3df949627419221c95661f87f"
slz02 A 10.16.12.2
TXT "310eed3ec13b20442e8f9d1177806532d4"
slz03 A 10.16.12.3
TXT "3196a3edfc2304a87984f0e019a871248d"
slz04 A 10.16.12.4
TXT "310ab373eee0bca23133c1649fa4964f84"
slz1 A 10.16.12.1
TXT "31255018f3df949627419221c95661f87f"
slz2 A 10.16.12.2
TXT "310eed3ec13b20442e8f9d1177806532d4"
slz3 A 10.16.12.3
TXT "3196a3edfc2304a87984f0e019a871248d"
slz4 A 10.16.12.4
TXT "310ab373eee0bca23133c1649fa4964f84"
slz5 A 10.16.12.5
TXT "311114e5a1de76c7be4c408fe8ed56f060"
test1 A 10.16.9.2
TXT "31856f42e0dd4117a79a441473fc237583"
tubuntu A 10.16.9.3
TXT "0031e07617f6f6b3550eef6e819cb20cf0"
ubuntu A 10.16.9.3
TXT "0031e07617f6f6b3550eef6e819cb20cf0"
uebi01 A 10.16.222.4
TXT "3181d161d80d5c45fbee43f100cbb2327c"
vista01 A 10.16.9.1
TXT "31c2af70728f5c364e842f0937c162b7d8"
wL4-laptop A 10.16.22.3
TXT "31c0507d6f2adf539da5d9d42c917ffe77"

kworx
19.08.08, 10:46
Ich bleib mal mit meinen Antworten hier http://www.unixboard.de/ (http://www.unixboard.de/vb3/showthread.php?p=308358&posted=1)