[redhat] probleem met DNS

Pagina: 1
Acties:

  • -FuBaR-
  • Registratie: April 2002
  • Laatst online: 22-01-2014

-FuBaR-

is it safe?

Topicstarter
ik draai Redhat 6.2 en al een tijdje naar behoren. Heb i-net verbinding via mxstream. Nu wilde ik de rest van het windhoos netwerk via mijn gateway het inet opkrijgen. Ik heb twee ethernet kaarten, en de Linux bak werkt als router. In resolv.conf staan de DNS adressen, en gateway is ingesteld. Toch resolved de DNS geen adressen meer. Kan hem ook niet meer pingen. Krijg wel een IP addres van provider. Dus ik kan geen pagina's zien zowel via mijn server (linux) als windhoos bakken!?
Iemand suggesties welke file ik zou kunnen checken? Of welke instelling ik fout heb staan. (linuxconf staat voor zover ik weet, goed) :?

The consumption of alcohol may cause a disturbance in the time-space continuum, whereby gaps of time may seem to literally disappear.


Verwijderd

Ik snap niks van je verhaal als ik eerlijk ben.

Wat gebruik je als DNS-server op je clients :?
In /etc/resolv.conf staan neem ik aan de DNS-servers van je provider?
Als je "dig www.tweakers.net" doet, op je linuxmachine doet hij het dan wel?

  • -FuBaR-
  • Registratie: April 2002
  • Laatst online: 22-01-2014

-FuBaR-

is it safe?

Topicstarter
op de clients heb ik de dns adressen van mijn provider ingevuld. /etc/resolv.conf staan idd ook deze adressen. linux bak staat als gateway. Nu kan ik op mijn linux bak ook geen pagina's meer vinden.

The consumption of alcohol may cause a disturbance in the time-space continuum, whereby gaps of time may seem to literally disappear.


Verwijderd

geef de inhoud van /etc/resolv.conf eens.

Je hebt toch niet ineens een firewall draaien op die linuxmachine die poort 53 blokkeert?
"ipchains -L"

Verwijderd

Heb je ook IP forwarding aangezet? Dat het op je linux bak niet meer werkt is overigens behoorlijk, erm... vreemd... Kun je vna zowel clients als server de output van ifconfig/route geven en de exacte inhoud van resolv.conf?

  • -FuBaR-
  • Registratie: April 2002
  • Laatst online: 22-01-2014

-FuBaR-

is it safe?

Topicstarter
in resolv.conf staat:
nameserver 195.121.1.34
nameserver 195.121.1.66

IP forwarding staat aan!
Firewall staat helemaal open.

The consumption of alcohol may cause a disturbance in the time-space continuum, whereby gaps of time may seem to literally disappear.


Verwijderd

Aan de nameservers ligt het niet, want die werken vanaf hier gewoon.

Er moet toch echt iets aan de hand zijn met je firewall/route o.i.d.

Een simpele ping naar 213.239.154.35 werkt wel?

  • -FuBaR-
  • Registratie: April 2002
  • Laatst online: 22-01-2014

-FuBaR-

is it safe?

Topicstarter
nee, ook al geprobeerd. Firewall staat helemaal open, daar ben ik nog niet aan geweest. Het is ergens fout gegaan toen ik in netconf bezig was. T zal dus aan mijn gateway liggen?

The consumption of alcohol may cause a disturbance in the time-space continuum, whereby gaps of time may seem to literally disappear.


Verwijderd

Geef de output van ifconfig en route eens ;)

  • -FuBaR-
  • Registratie: April 2002
  • Laatst online: 22-01-2014

-FuBaR-

is it safe?

Topicstarter
probleem is dat ik met een dualboot werk, om te kunnen posten werk ik nu met win2k. Moet ff booten, maar ga ff checken
ifconfig uit mijn hoofd is ongeveer;
lo 127.0.01
eth0 192.168.0.1
eth1 10.0.0.150
pptp 80.60.119.131

oja, traceroute ging ook fout

The consumption of alcohol may cause a disturbance in the time-space continuum, whereby gaps of time may seem to literally disappear.


  • -FuBaR-
  • Registratie: April 2002
  • Laatst online: 22-01-2014

-FuBaR-

is it safe?

Topicstarter
mmm. heb net server gestart en kan DNS weer pingen |:(



output route:



[root@Amd200 /root]# route



Kernel IP routing table



Destination Gateway Genmask Flags Metric Ref Use Iface



195.190.241.51 * 255.255.255.255 UH 0 0 0 ppp0



192.168.0.0 192.168.0.1 255.255.255.0 UG 0 0 0 eth0



192.168.0.0 * 255.255.255.0 U 0 0 0 eth0



10.0.0.0 * 255.0.0.0 U 0 0 0 eth1



127.0.0.0 * 255.0.0.0 U 0 0 0 lo



default 195.190.241.51 0.0.0.0 UG 0 0 0 ppp0



[root@Amd200 /root]#







weet niet waarom het weer werkt, heb niks verandert (misschien helpt booten zelfs bij linux) >:)



bericht gepost van linuxbak :)

The consumption of alcohol may cause a disturbance in the time-space continuum, whereby gaps of time may seem to literally disappear.


Verwijderd

Je moest je route waarschijnlijk goed zetten, of iets met de ipconfig. Dat ging goed toen het vanuit de init scripts gebeurde.

Rebooten helpt meestal niet bij linux.

Verwijderd

Waarschijnlijk was je default route weg en is deze hersteld na de reboot.

Ovirigens is zo'n beetje alles op te lossen zonder reboot in linux (op hhet installeren van een nieuwe kernel na dan). Dit was ook met wat aanpassingen aan je route-tabel aan te passen ;) :)

Maar goed, het werkt allemaal weer.
Pagina: 1