473,327 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Testing C# program with nslookup

Hi,

To block spam-mails I want to write my own blackhole list server for my
Postfix mailserver in .NET

In postfix i would have to add the line reject_rbl_client <myBlackList> to
the smtp_client_restrictions and postfix would send a request, if this mail
should be blocked, to my blacklist server.
Since the Postifx server is already in use I can't use it to test my code. So
I thought with nslookup I can simulate my Postfix-request.

Am I'm right that the Postfix request is sent by a UDP-packet?

I played around with the code for quite a while now, but my blacklist server
is receiving nothing from nslookup.

Right now I just trying to receive anything from nslookup in my program. Does
anybody have any ideas how to do that?

Thanks,
Gernot
Sep 27 '05 #1
0 2452

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: TomT | last post by:
Hi, I've been searching but have not been able to find a script that will allow nslookup's using ASP. I'm looking to use a form, that will allow users to enter IP addresses or domian names,...
6
by: axxegfx | last post by:
I need to resolve one domain , i have proved this: System.Net.Dns.GetHostByName("digitalprologic.com") but it returns an error. I have typed DOS nslookup -querytype=any digitalprologic.com...
1
by: Franco Figún | last post by:
Hi everyone I need to simulate NSLOOKUP but with asp.net in c# o vb.net, any idea? I don't need a very complex example, only 2 textbox for the domain and other for the DNS server, and one button,...
0
by: pmclinn | last post by:
I'm looking to find the code to do an nslookup via my own dns like this: MyDNS = xxx.xxx.xxx.xxx result = resolve this ip(yyy.yyy.yyy.yyy) via this server MyDNS I have seen many examples...
0
by: ginn via DotNetMonster.com | last post by:
Hi, To block spam-mails I want to write my own blackhole list server for my Postfix mailserver in .NET In postfix i would have to add the line reject_rbl_client <myBlackList> to the...
2
by: Stuart Duncan | last post by:
Hi I am trying to put a web page together that will allow the user to find the MX record for a domain. I have found PHP code that uses nslookup but when I use it, I receive a "Page cannot be...
7
usafshah
by: usafshah | last post by:
When i try nslookup from my domain (either from domaincontroller or from any client) it says C:\Users\usaf.EITS>nslookup Default Server: UnKnown Address: 192.168.0.100:53 why UNKNOWN ?
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.