DNS Issues

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

DNS Issues

Postby zouzou » Jul 12 09 11:30 am

Greetings,

I am running Wingate 6.2.2 on PC A that has 2 NICS, one internal and the other is used for internet thru pppoe, PC B gets DHCP from A (using Wingate), the problem is that B can't resolve any names, as if no dns is configured. the automatic config that B gets makes A as the DNS server (meaning that DNS server in B is A's IP address). I configured the DNS addresses in WIngate using "DNS/WINS Resolver".

of course everything works fine when I configure DNS manually or thru DHCP on B.

Any help is appreciated.
zouzou
 
Posts: 3
Joined: Jul 12 09 1:28 am

Re: DNS Issues

Postby Nev » Jul 12 09 4:45 pm

Greetings to you!

Usually Wingate will auto discover DNS from the Host // ISP so I am yet to need to use the 'Resolver' in any case.

Does it work if this entry is blank and you restart the service?

So it's working if Wingate serves an address to 'B' via DHCP, yes?

Can you post an the results of this command back to the forum for the 'B' system *when DNS doesn't work*:

Run--> IPCONFIG /ALL >C:\IPCONFIG.TXT
--
Nev.
Nev
WinGate Guru
 
Posts: 861
Joined: Sep 22 03 11:35 pm
Location: Mudgee ~ NSW ~ Australia

Re: DNS Issues

Postby zouzou » Jul 12 09 10:42 pm

Usually Wingate will auto discover DNS from the Host // ISP so I am yet to need to use the 'Resolver' in any case.

ok, i removed the entries from the resolver

Does it work if this entry is blank and you restart the service?

No

So it's working if Wingate serves an address to 'B' via DHCP, yes?

only if it serves the DNS address that i configure in the DHCP service. That means the default DNS does not work (which is A's ip address)

Can you post an the results of this command back to the forum for the 'B' system *when DNS doesn't work*:

Run--> IPCONFIG /ALL >C:\IPCONFIG.TXT


Code: Select all
Windows IP Configuration



        Host Name . . . . . . . . . . . . : mainlaptop

        Primary Dns Suffix  . . . . . . . :

        Node Type . . . . . . . . . . . . : Unknown

        IP Routing Enabled. . . . . . . . : No

        WINS Proxy Enabled. . . . . . . . : No



Ethernet adapter VMware Network Adapter VMnet8:



        Connection-specific DNS Suffix  . :

        Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8

        Physical Address. . . . . . . . . : 00-50-56-C0-00-08

        Dhcp Enabled. . . . . . . . . . . : No

        IP Address. . . . . . . . . . . . : 192.168.247.1

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . :



Ethernet adapter VMware Network Adapter VMnet1:



        Connection-specific DNS Suffix  . :

        Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1

        Physical Address. . . . . . . . . : 00-50-56-C0-00-01

        Dhcp Enabled. . . . . . . . . . . : No

        IP Address. . . . . . . . . . . . : 192.168.226.1

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . :



Ethernet adapter LAN:



        Media State . . . . . . . . . . . : Media disconnected

        Description . . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Controller

        Physical Address. . . . . . . . . : 00-1C-23-16-00-3E



Ethernet adapter Wireless Network Connection:



        Connection-specific DNS Suffix  . :

        Description . . . . . . . . . . . : Intel(R) PRO/Wireless 3945ABG Network Connection

        Physical Address. . . . . . . . . : 00-1C-BF-1A-8E-91

        Dhcp Enabled. . . . . . . . . . . : Yes

        Autoconfiguration Enabled . . . . : Yes

        IP Address. . . . . . . . . . . . : 192.168.1.3

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . : 192.168.1.1

        DHCP Server . . . . . . . . . . . : 192.168.1.1

        DNS Servers . . . . . . . . . . . : 192.168.1.1

        Lease Obtained. . . . . . . . . . : Sunday, July 12, 2009 12:20:20 PM

        Lease Expires . . . . . . . . . . : Thursday, September 10, 2009 12:20:20 PM


The adapter involved here is the wireless. So it is clearly 192.168.1.1 is A's address.
Now when the DNS Server is the actual DNS, everything works fine.
zouzou
 
Posts: 3
Joined: Jul 12 09 1:28 am

Re: DNS Issues

Postby Nev » Jul 14 09 12:37 am

The internal NIC in the Wingate machine, does it have a gateway and DNS configured?
--
Nev.
Nev
WinGate Guru
 
Posts: 861
Joined: Sep 22 03 11:35 pm
Location: Mudgee ~ NSW ~ Australia

Re: DNS Issues

Postby zouzou » Jul 14 09 2:40 am

Nev wrote:The internal NIC in the Wingate machine, does it have a gateway and DNS configured?


Ok, I thought that it is not needed. Anyway, I configured DNS on the internal NIC and everything is working fine, thanks.
zouzou
 
Posts: 3
Joined: Jul 12 09 1:28 am

Re: DNS Issues

Postby belainex » Nov 10 09 7:31 pm

How do I change my dns server from Centos? I have a system with CENTOS and I need to change the primary and secondary dns server addresses (the centos machine is NOT a dns server -- think of it like a workstation). How can I change the dns server address? I didn't see it under /etc/sysconfig/networking.
_______________________
yahoo keyword tool ~ overture ~ traffic estimator ~ adwords traffic estimator
Last edited by belainex on Nov 15 09 12:38 am, edited 1 time in total.
belainex
 
Posts: 3
Joined: Nov 07 09 5:33 am

Re: DNS Issues

Postby logan » Nov 10 09 9:11 pm

As far as I'm aware, on most linux distros the DNS server can be configured in /etc/resolv.conf
You'd probably be better off asking that question in a centos or linux specific forum
logan
Qbik Staff
 
Posts: 671
Joined: Oct 19 06 2:49 pm
Location: Auckland, New Zealand


Return to WinGate

Who is online

Users browsing this forum: No registered users and 0 guests