Akut ang DNS: whois-nserver vs "dig @xxx" data

Konfiguration av nätverk, hur man använder Ubuntu som server, och håller sin dator säker
Emil.s
Inlägg: 6633
Blev medlem: 12 dec 2006, 23:20
OS: Ubuntu
Ort: /Dalarna/Hedemora/
Kontakt:

Akut ang DNS: whois-nserver vs "dig @xxx" data

Inlägg av Emil.s »

Internetuppkopplingen hemma har dött av olika anledningar, och som panikåtgärd för att få mailen att gå fram så har jag styrt över all trafik till loopia:
root@MobileCommand: ~ #> whois sandnabba.se
# Copyright (c) 1997- .SE (The Internet Infrastructure Foundation).
# All rights reserved.

# The information obtained through searches, or otherwise, is protected
# by the Swedish Copyright Act (1960:729) and international conventions.
# It is also subject to database protection according to the Swedish
# Copyright Act.

# Any use of this material to target advertising or
# similar activities is forbidden and will be prosecuted.
# If any of the information below is transferred to a third
# party, it must be done in its entirety. This server must
# not be used as a backend for a search engine.

# Result of search for registered domain names under
# the .SE top level domain.

# The data is in the UTF-8 character set and the result is
# printed with eight bits.

state: active
domain: sandnabba.se
holder: xxxmaj1851-00001
admin-c: -
tech-c: -
billing-c: -
created: 2006-06-16
modified: 2010-04-20
expires: 2010-06-16
transferred: 2009-03-06
nserver: ns4.loopia.se
nserver: ns3.loopia.se

dnssec: unsigned delegation
status: ok
registrar: Loopia AB
Notera fetstilade.

Men varför får jag följande resultat från t.ex Googles DNS?
root@MobileCommand: ~ #> host sandnabba.se 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:

Host sandnabba.se not found: 2(SERVFAIL)
root@MobileCommand: ~ #> host sandnabba.se ns4.loopia.se
Using domain server:
Name: ns4.loopia.se
Address: 93.188.0.20#53
Aliases:

sandnabba.se has address 212.116.68.118
sandnabba.se mail is handled by 30 mailforward2.loopia.se.
sandnabba.se mail is handled by 10 mailforward1.loopia.se.
sandnabba.se mail is handled by 10 mailforward2.loopia.se.
sandnabba.se mail is handled by 20 mailforward1.loopia.se.
Är det bara att Googles DNS inte uppdaterat mot .se än, eller har jag missat något?
Home sweet ~/ = http://sandnabba.se
andol
Inlägg: 3093
Blev medlem: 31 dec 2007, 00:19
OS: Ubuntu
Utgåva: 23.10 Mantic Minotaur

Re: Akut ang DNS: whois-nserver vs "dig @xxx" data

Inlägg av andol »

Bara för att whois-servern är uppdaterad betyder det inte att root-servarna för .se är det. Ser ut som om du får räkna med att de har en TTL-cache på i alla fall ett dygn.

Kod: Markera allt

andreas@stilgar:~$ dig +trace sandnabba.se

; <<>> DiG 9.7.0-P1 <<>> +trace sandnabba.se
;; global options: +cmd
.			47717	IN	NS	I.ROOT-SERVERS.NET.
.			47717	IN	NS	L.ROOT-SERVERS.NET.
.			47717	IN	NS	A.ROOT-SERVERS.NET.
.			47717	IN	NS	H.ROOT-SERVERS.NET.
.			47717	IN	NS	C.ROOT-SERVERS.NET.
.			47717	IN	NS	B.ROOT-SERVERS.NET.
.			47717	IN	NS	J.ROOT-SERVERS.NET.
.			47717	IN	NS	E.ROOT-SERVERS.NET.
.			47717	IN	NS	D.ROOT-SERVERS.NET.
.			47717	IN	NS	K.ROOT-SERVERS.NET.
.			47717	IN	NS	M.ROOT-SERVERS.NET.
.			47717	IN	NS	F.ROOT-SERVERS.NET.
.			47717	IN	NS	G.ROOT-SERVERS.NET.
;; Received 228 bytes from 192.168.1.1#53(192.168.1.1) in 9 ms

se.			172800	IN	NS	b.ns.se.
se.			172800	IN	NS	f.ns.se.
se.			172800	IN	NS	i.ns.se.
se.			172800	IN	NS	d.ns.se.
se.			172800	IN	NS	c.ns.se.
se.			172800	IN	NS	h.ns.se.
se.			172800	IN	NS	g.ns.se.
se.			172800	IN	NS	a.ns.se.
se.			172800	IN	NS	e.ns.se.
se.			172800	IN	NS	j.ns.se.
;; Received 437 bytes from 192.5.5.241#53(F.ROOT-SERVERS.NET) in 17 ms

sandnabba.se.		86400	IN	NS	linuxuser.nu.
sandnabba.se.		86400	IN	NS	ns.sandnabba.se.
;; Received 117 bytes from 192.36.144.107#53(a.ns.se) in 8 ms

;; connection timed out; no servers could be reached

Kod: Markera allt

andreas@stilgar:~$ dig ns sandnabba.se @c.ns.se

; <<>> DiG 9.7.0-P1 <<>> ns sandnabba.se @c.ns.se
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41241
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;sandnabba.se.			IN	NS

;; AUTHORITY SECTION:
sandnabba.se.		86400	IN	NS	linuxuser.nu.
sandnabba.se.		86400	IN	NS	ns.sandnabba.se.

;; ADDITIONAL SECTION:
ns.sandnabba.se.	86400	IN	A	91.95.226.62
ns.sandnabba.se.	86400	IN	AAAA	2001:16d8:ff00:2b9::2

;; Query time: 14 msec
;; SERVER: 192.36.135.107#53(192.36.135.107)
;; WHEN: Tue Apr 20 21:01:57 2010
;; MSG SIZE  rcvd: 117
Emil.s
Inlägg: 6633
Blev medlem: 12 dec 2006, 23:20
OS: Ubuntu
Ort: /Dalarna/Hedemora/
Kontakt:

Re: Akut ang DNS: whois-nserver vs "dig @xxx" data

Inlägg av Emil.s »

Ah, vad bra då. :)

Då kan jag lägga min fulla kraft på att våldföra mig på Telia.
Home sweet ~/ = http://sandnabba.se
andol
Inlägg: 3093
Blev medlem: 31 dec 2007, 00:19
OS: Ubuntu
Utgåva: 23.10 Mantic Minotaur

Re: Akut ang DNS: whois-nserver vs "dig @xxx" data

Inlägg av andol »

Sen hade det ju inte skadat om du haft en existerande/fungerande DNS-server som secondary? Antar dock att du själv är relativt väl medveten om det just nu? :)
Emil.s
Inlägg: 6633
Blev medlem: 12 dec 2006, 23:20
OS: Ubuntu
Ort: /Dalarna/Hedemora/
Kontakt:

Re: Akut ang DNS: whois-nserver vs "dig @xxx" data

Inlägg av Emil.s »

Jo, den fungerade, för någon månad sedan. :P

Lär helt enkelt skylla på mig själv för att man inte tänkt på att man hade sin egen DNS där.
Att servern är nere visste man ju redan.

Nu funkar loopias DNS iallafall, så nu får man bara hoppas på att AllTele snabbar på så man får fast bredband igen...
Home sweet ~/ = http://sandnabba.se
Skriv svar

Återgå till "Nätverk, säkerhet och servrar"