Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» DHCP and DNS» dns-relay works for resolving 1 server name, not the other
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: dns-relay works for resolving 1 server name, not the other  (Read 658 times)
0 Members and 1 Guest are viewing this topic.
ATI
Newbie
*
Offline Offline

Posts: 4


View Profile
« on: July 22, 2012, 05:06:03 pm »

Hi
I have 2 servers, using DHCP to acquire their IP.
brooklyn: 10.17.10.30 and fiinas: 10.17.10.34

From my laptop, I can ping the nas using its name.
Code:
C:\Users\Alex>ping fiinas
Pinging fiinas [10.17.10.34] with 32 bytes of data:
Reply from 10.17.10.34: bytes=32 time<1ms TTL=64
Reply from 10.17.10.34: bytes=32 time<1ms TTL=64

But I can't resolve name on the second one:
Code:
C:\Users\Alex>ping brooklyn
Ping request could not find host brooklyn. Please check the name and try again.

both are using DHCP but if I check on pfSense DHCP lease status, fiinas is offline while brooklyn is online:
Code:
10.17.10.30  00:0c:06:09:f3:eb  brooklyn  n/a    n/a    online  static
10.17.10.34  00:08:96:0d:09:13  FIINAS  n/a    n/a    offline  static


PS: I can ping the ip address directly of brooklyn though
Code:
C:\Users\Alex>ping 10.17.10.30
Pinging 10.17.10.30 with 32 bytes of data:
Reply from 10.17.10.30: bytes=32 time=1ms TTL=64
Reply from 10.17.10.30: bytes=32 time<1ms TTL=64

Do you have any idea why the DNS-relay doesn't work for brooklyn ?

Thanks
Logged
ATI
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #1 on: July 22, 2012, 05:19:44 pm »

Also, in the Diagnostics: DNS Lookup page, I have these results:

Code:
Hostname or IP : fiinas
= 10.17.10.34
Create alias out of these entries.

Hostname or IP : brooklyn
= 10.17.10.30
Create alias out of these entries.


I clicked on create an alias for both, and got this:
fiinas: an alias already exist
brooklyn: Alias created with name brooklyn

but it did not change resolve issue.


I then checked in /etc/hosts and see that brooklyn in in lowercase, while fiinas is in uppercase.
10.17.10.30   brooklyn.fii brooklyn
10.17.10.34   FIINAS.fii FIINAS

I changed it to uper case, but did not help...

I don't understand why it works for one, and not the other... (during my tests I regularly renew my laptop dhcp lease, and the server ones too, to refresh settings)


Logged
jimp
Administrator
Hero Member
*****
Offline Offline

Posts: 12865



View Profile
« Reply #2 on: July 27, 2012, 11:03:03 am »

The client you're pinging/resolving from - is it actually using pfSense as its DNS server?

If it resolves from Diag > DNS, then it would from clients using pfSense as their DNS server. If it's using some other DNS server, it may be finding fiinas by NBNS and not DNS.
Logged

Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Donate to the project | My Wish List
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.027 seconds with 20 queries.