How to fix MS Exchange 2007 not sending eMails: dns query failed 451

A customer set up a new SPI firewall but wasn’t able to send eMails from his internal  Microsoft Exchange which was running on a SBS 2008 Server.
He had all necessery ports opened (incoming and outgoing) and was able to send eMails directly from Outlook within the same network using the same Cloud-Smarthost.
Using the Exchange Management Console -> Toolbox -> Queue Viewer I got the error message “451 dns query failed”.
Then I took a look at the Windows DNS-Service and found out that the customer only allowed DNS requests to his firewall, but not any other NameServers in the Internet.
After clearing the DNS-Cache nslookup was able to return the correct IP for some names, but for others it didn’t return anything at all.

A customer set up a new SPI firewall but wasn’t able to send eMails from his internal  Microsoft Exchange which was running on a SBS 2008 Server.

He had all necessery ports opened (incoming and outgoing) and was able to send eMails directly from Outlook within the same network using the same Cloud-Smarthost.

Using the Exchange Management Console -> Toolbox -> Queue Viewer I got the error message “451 dns query failed”.

Then I took a look at the Windows DNS-Service and found out that the customer only allowed DNS requests to his firewall, but not any other NameServers in the Internet.

After clearing the DNS-Cache of the SBS 2008 and allowing DNS lookups from the Exchange Server to other NameServers in the internet, everything worked again.

VB.Net How To: Changing the formatting og RichtTextBox content

Code example for changing font size of the first 10 characters to 16 and at the same time changing it to Bold and Italic:

RichTextBox2.Select(0, (Nachname_TextBox.Text & ” ” & Vorname_TextBox.Text).Length)
Dim BoldUnderlined As FontStyle = FontStyle.Bold + FontStyle.Underline
RichTextBox2.SelectionFont = New Font(RichTextBox2.SelectionFont.FontFamily.ToString(), 16, BoldUnderlined)

RichTextBox1.Select(0, 10-1)

Dim BoldItalic As FontStyle = FontStyle.Bold + FontStyle.Italic

RichTextBox1.SelectionFont = New Font(RichTextBox1.SelectionFont.FontFamily.ToString(), 16, BoldItalic)

Note: Line breaks also count as a character.

VB.NET How To: copy Text from RichtTextBox to Clipboard

Code:

My.Computer.Clipboard.SetText(RichTextBox1.Rtf(), TextDataFormat.Rtf)

with this code you will also keep the RTF formatting (bold, italic, font size, font colour, and so on).

Protected: TDMA vs. FDMA vs. whatever?

This post is password protected. To view it please enter your password below:


read on

Because of school and other stuff I won’t be able to continue blogging any more for some time. In the mean time, you should read those great books written by Mark Russinovish:

  • Zero Day (2011)
  • Trojan Horse (2012)

Those great books only cost a few bucks as Kindle edition (you can read those on your computer, smartphone or tablet, too!). Download the Kindle Reader Software for Mac or PC here: www.amazon.com/gp/kindle/pc/download

Have fun!

Ted talk: Sheena Iyengar on the art of choosing

About this Ted talk:

Sheena Iyengar studies how we make choices — and how we feel about the choices we make. At TEDGlobal, she talks about both trivial choices (Coke v. Pepsi) and profound ones, and shares her groundbreaking research that has uncovered some surprising attitudes about our decisions.

 

[video] or visit http://www.ted.com/….

Explained: Garbage Collection

Garbage Collection is the concept of collecting useless “dereferenced” memory, and freeing it for re-use by the system. De-referenced resources are those objects that are no longer in use by the program but are still allocated for use by it.

Languages like C/C++ could allow programmers to directly interact and play with memory, a responsibility that is often so abused that it does more harm than good… Problems arise when people recklessly allocate large system resources and the due to some mis-management the allocated memory is never freed. This leaves large chunks of unreacheable memory locations that ultimately cause “Memory Leaks”. In comes the invention by John McCarthy, which shoulders the responsibility of memory management by de-allocating memory that is not in use by the program anymore. While the concept was initially developed for LISP only, now it has spread to a variety of High Level Languages, including updated versions of C\C++ themselves.
C++/CLI (Common Language Infrastructure), which is Microsoft’s language specification has provision for both manual and automated memory management.

Garbage collector is the term used to represent automatic memory management by the system. Garbage collector scans the runtime environment for objects that are accessible directly or indirectly via references. Then it proceeds to discard all remaining objects. Typically, an object’s memory is reclaimed when the number of references to it reaches zero. These scans are done in cycles, which are started automatically by the Garbage collector or when explicit calls are made to it.

Garbage collection does not guarantee immunity from memory leaks, and obviously requires a considerable percentage of system resources to run, but definitely helps programmers who have to deal with a lot of memory in their projects. Garbage collection is not commonly used in embedded projects due to their already small resource size but are available on certain platforms like .NET Micro Framework and Java-ME.

Windows Intune – PC management in the Cloud!

Windows Intune, in a nutshell, is a Web-based console where IT administrators can manage the deployment of Microsoft updates and service packs to all PCs, keep track of hardware and software inventory, fix PC issues remotely, manage protection from malware threats and set security policies. Windows Intune can be accessed anywhere an Internet connection is available.

Microsoft is aiming the cloud-based Windows Intune squarely at companies with 25 to 500 PCs, as businesses of this size typically don’t have the resources to manage and configure servers in an on-premise desktop management environment.

For $11 per PC per month users will get the Windows Intune service plus integrated anti-malware (anti-virus and anti-spyware) and Windows 7 Enterprise upgrade rights. Volume discounts will also be available for purchases of 250 licenses or greater.

Windows Intune will be sold like other cloud services from Microsoft — through Microsoft partners and the Microsoft Online Services Web site.

You can find more in depth information in the PDF below or just visit windowsintune.com.

WPC 2010 Virtual Pressroom: Video Gallery

Demo: The Personal Cloud

Corporate Vice President Brad Brooks shows off how Windows 7, Bing, Windows Live and other services connect to create a connected “personal cloud.”

[Video]

Have you made your decision to be a Mac or a PC?

This is a video review of Mac versus Windows which shows both – the good and the bad – sides of PCs and Macs:

<video>

Personally I made my decision to be a PC because I love to have control over every little part of the OS (using OpenBSD, Ubuntu Netbook Edition and various Windows).

What are you? (Mac, PC or both?) Please comment!