DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 14th, 2004, 04:38 AM
scriptkiddie scriptkiddie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: UK
Posts: 68 scriptkiddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 5 sec
Reputation Power: 7
BIND9 Linux UDP not responding

Hi,

I current have now got a primary (and secondary i think, depends if i've configured correctly) but using the dns crawler, I can only get a response from TCP but not UDP. I have opened the correct ports on the firewall so I have no idea why its not responding, all I get is a response from TCP and from UDP i get:

Response Timed out!
Waited 5 seconds for the UDP response

anyone know whats wrong ?
thanks

Reply With Quote
  #2  
Old July 14th, 2004, 08:05 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
what's your domain or server IP?
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #3  
Old July 14th, 2004, 08:07 AM
scriptkiddie scriptkiddie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: UK
Posts: 68 scriptkiddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 5 sec
Reputation Power: 7
domain is pspltd.homeip.net

Reply With Quote
  #4  
Old July 14th, 2004, 08:09 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
oh, well, that's not going to show me what your server IP is. I guess you have to tell me that directly.

Reply With Quote
  #5  
Old July 14th, 2004, 08:10 AM
scriptkiddie scriptkiddie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: UK
Posts: 68 scriptkiddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 5 sec
Reputation Power: 7
the server IP, do you mean local or external

internal 192.168.1.1
external 82.163.167.227

Reply With Quote
  #6  
Old July 14th, 2004, 09:10 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
Now enter this command at the commandline:

C:\>netstat -an | find ":53"

Show me the response, then execute this command:

C:\path\to\binds\dns\bin>dig @127.0.0.1 pspltd.homeip.net

Show me the response to that as well.

Reply With Quote
  #7  
Old July 15th, 2004, 03:09 AM
scriptkiddie scriptkiddie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: UK
Posts: 68 scriptkiddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 5 sec
Reputation Power: 7
btw, the server is linux, sorry, should have mentioned earlier but in windows netstat command returned nothing and the dig command I can't run because its a linux machine

Reply With Quote
  #8  
Old July 15th, 2004, 09:16 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
Then execute these equivilent commands:

netstat -an | grep ":53"

dig @127.0.0.1 pspltd.homeip.net

Reply With Quote
  #9  
Old July 15th, 2004, 12:52 PM
scriptkiddie scriptkiddie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: UK
Posts: 68 scriptkiddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 5 sec
Reputation Power: 7
netstat -an | grep ":53" produces:

[root@localhost root]# netstat -an | grep ":53"
tcp 0 0 192.168.1.1:53 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
udp 0 0 192.168.1.1:53 0.0.0.0:*
udp 0 0 127.0.0.1:53 0.0.0.0:*
udp 0 0 192.168.1.1:53 0.0.0.0:*
udp 0 0 127.0.0.1:53 0.0.0.0:*
[root@localhost root]#

and dig @127.0.0.1 pspltd.homeip.net produces:

[root@localhost root]# dig @127.0.0.1 pspltd.homeip.net

; <<>> DiG 9.2.3 <<>> @127.0.0.1 pspltd.homeip.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10077
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;pspltd.homeip.net. IN A

;; ANSWER SECTION:
pspltd.homeip.net. 86400 IN A 82.163.167.227

;; AUTHORITY SECTION:
pspltd.homeip.net. 86400 IN NS pspltd.homeip.net.
pspltd.homeip.net. 86400 IN NS www.pspltd.homeip.net.

;; ADDITIONAL SECTION:
www.pspltd.homeip.net. 86400 IN A 82.163.167.227

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Jul 15 18:49:05 2004
;; MSG SIZE rcvd: 99

[root@localhost root]#

Reply With Quote
  #10  
Old July 15th, 2004, 12:59 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
Just to cover all our bases, now try this command:

dig @192.168.1.1 pspltd.homeip.net

Also, explain a bit about your box here. You've got the IP address of 192.168.1.1 so it looks like a gateway server or something. Explain your modem/router/switch/hub/computers setup.

Also try this command at the prompt and see if your UDP starts working.

service iptables stop

Reply With Quote
  #11  
Old July 15th, 2004, 01:36 PM
scriptkiddie scriptkiddie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: UK
Posts: 68 scriptkiddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 5 sec
Reputation Power: 7
the response from dig @192.168.1.1 pspltd.homeip.net was:

[root@localhost root]# dig @192.168.1.1 pspltd.homeip.net

; <<>> DiG 9.2.3 <<>> @192.168.1.1 pspltd.homeip.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57569
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;pspltd.homeip.net. IN A

;; ANSWER SECTION:
pspltd.homeip.net. 86400 IN A 82.163.167.227

;; AUTHORITY SECTION:
pspltd.homeip.net. 86400 IN NS www.pspltd.homeip.net.
pspltd.homeip.net. 86400 IN NS pspltd.homeip.net.

;; ADDITIONAL SECTION:
www.pspltd.homeip.net. 86400 IN A 82.163.167.227

;; Query time: 1 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Jul 15 19:25:58 2004
;; MSG SIZE rcvd: 99

[root@localhost root]#

and I stopped IPtables but that made no difference, UDP still didn't work.

The setup I am running is an IPcop router with:
Green network: 192.168.0.*
Orange network: 192.168.1.*
Red network: dlink router(with all ports forwarded to ipcop)

the dlink router is then connected to the internet

theres a 24 port switch on the green network and a 5 port switch on the orange network

Reply With Quote
  #12  
Old July 15th, 2004, 10:38 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
show me the response to the following command executed from another computer on the network:

dig @192.168.1.1 pspltd.homeip.net

Reply With Quote
  #13  
Old July 19th, 2004, 08:51 AM
scriptkiddie scriptkiddie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: UK
Posts: 68 scriptkiddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 5 sec
Reputation Power: 7
thanks, I have now solved this as you made me think when you asked what the setup was. I thought, i bet I have only forwarded TCP on the dlink, and that was the problem. As soon as I forwarded the UDP ports to ipcop, everything started working

thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > BIND9 Linux UDP not responding


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |