Sender address rejected: Domain not found

I have an order for reinstall email server. I accept the job and finish it in one day ( I use FreeBSD 8.2 release for OS and Postfix for MTA but the longest session during reinstall is backup and migrating mailbox).

Everything seem ok until mail server deployed, local delivery work well except sending to outside. Any email to other email server rejected with ‘domain not found’ message.

I’ve change /etc/resolv.conf to use opendns and google public ip but still not work, the error message still appear and make me little confuse.

After look around finally I got the solution. Its about postfix local resolv.conf file. Postfix has its own resolv.conf file located in /var/spool/postfix/etc.

mail# ls
hosts           localtime       resolv.conf     services

Yes, that resolv.conf file is still holding the value of local dns server I use during installation process.

Change the ip to isp dns server clear my problem and everything seem fine.

Time to set spf record and dkim.

See you.

Cisco VPN Client

Cisco VPN client software is tools that we can use to get connected in a network of a place, usually a corporate network. In this way the client can access office files or share files with people in the office without having to come physically.

The mechanism used on the VPN is tunneling, data transmitted and received by clients will be spent via a tunnel that makes data more secure.

In general, the operating system used is Windows (98, Me, XP, Vista, 7) and Mac OS X VPN server depending on the specifications used in the company. In the latest version of the client that can access the server are more variable such as Linux and Solaris.

Cisco VPN server from there are many, among which:
– Cisco Easy VPN Server
– Cisco VPN 3000 Series
– Cisco PIX Firewall

VPN protocols supported by the far the form of Point to Point Protocol, Layer 2 tunneling protocol and IP Security with a variety of forms.

For more information such as:
– Support client 32 bit and 64 bit
– Compabilitas with the server
– Configuration
– Troubleshooting

You can visit the Cisco VPN Client page here.

Others :

  • Cisco vpn client 64 bit – click here.
  • Download cisco vpn client latest version – click here.
  • Cisco anyconnect vpn client download – click here.

Cisco CCIE BootCamp

Cisco CCIE Bootcamp is a program that aims to train candidates for the CCIE certification holders in a particular place and within a certain period.

CCIE (Cisco Certified Internetwork Expert) is a certificate representing the expertise and to be able to follow the program participants are required to have held the certificate and professional associations (CCNA and CCNP).

At the end of the CCIE certification holders will have the expertise for troubleshooting any network problem .

Good CCIE Bootcamp program criteria when they include :

1. Provides a simulation module R & S Lab exam
2. Provide a written exam module
3. Provide curriculum that is able to combine real-world examples with the theory in practice.
4. Provide a comfortable place and an environment conducive to learning and adequate facilities and infrastructure.
5. Instructors are experienced in their field.

In some providers even CCIE Bootcamp is provided free of charge if the facility repeat until not pass on the first opportunity to demonstrate the seriousness of their commitment to produce graduates who are good.

In some cases service providers CCIE Bootcamp you will see two types of bootcamp:
1. Inclusive CCIE Bootcamp (you got meals during bootcamp)
2. Non Inclusive CCIE Bootcamp (no meals provided)

Effort and hard work you do to achieve CCIE certification will pay off once you are able to reach it, career path and salary guarantees a very interesting awaits you.

For readings that can help you, please click the link below:

1. CCIE Lab topology
2. Resource for the Cisco Learning
3. Free Cisco Lab

Good luck with your CCIE bootcamp and I wish you all the best.

Quick Setting Bind on FreeBSD 8.1

I’m big fan of djbdns and I already write some post about djbdns and dnscache in the past.

Today, my friend ask me to install or configure bind for his FreeBSD that run 8.1 version. I ask him to follow FreeBSD manual but he said he already follow the guide but still face error.

I agree to help him set quick dns server using bind on his FreeBSD box. I think I have to test it first before give another suggestion and maybe I’ll need it in the future.

Lets get start!

Target : domain will be resolved to

1. Enable bind on start up by add this line in /etc/rc.conf


2. Change a few things on /etc/namedb/named.conf

– Listen to ip

//      listen-on       {; };
listen-on       {; };

– Set forwarders to ip address of router / isp dns

forwarders {;

– Add zone for

zone “”{
type master;
file “/etc/namedb/master/”;

3. Add zone file content (for

ee /etc/namedb/master/

add fill this lines:

$TTL 3600        ; 1 hour default TTL    IN      SOA (
2006051501      ; Serial
10800           ; Refresh
3600            ; Retry
604800          ; Expire
300             ; Negative Response TTL

; DNS Servers
IN      NS
IN      NS

; MX Records
IN      MX 10
IN      MX 20

IN      A

; Machine Names
localhost       IN      A
ns1             IN      A
ns2             IN      A
mx              IN      A
mail            IN      A
www             IN      A
@               IN      A

save the file.

4. Add the address to /etc/resolv.conf

echo ‘nameserver’ >> /etc/resolv.conf

5. Restart dns server

# /etc/rc.d/named restart

Stopping named.
Waiting for PIDS: 2130.
Starting named.

6. Testing resolver

# dig

; <<>> DiG 9.6.2-P2 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26178
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;           IN      A

;; ANSWER SECTION:    3600    IN      A

;; AUTHORITY SECTION:    3600    IN      NS    3600    IN      NS

;; ADDITIONAL SECTION: 3600   IN      A 3600   IN      A

;; Query time: 0 msec
;; WHEN: Sun Jun 19 23:19:07 2011
;; MSG SIZE  rcvd: 121

Beautiful, quick and dirty way to get working dns server :-)

Tips :

always watch /var/log/messages for error message(s).

Testing Debian KFreeBSD

# uname -a
GNU/kFreeBSD debian 8.1-1-686 #0 Tue Jan  4 17:59:05 UTC 2011 i686 i386 Intel(R) Atom(TM) CPU N550   @ 1.50GHz GNU/kFreeBSD


# apt-get update
Ign cdrom://[Debian GNU/Linux 6.0.0 _Squeeze_ – Official kfreebsd-i386 CD Binary-1 20110205-22:58] squeeze Release.gpg
Media change: please insert the disc labeled
‘Debian GNU/Linux 6.0.0 _Squeeze_ – Official kfreebsd-i386 CD Binary-1 20110205-22:58’
in the drive ‘/media/cdrom/’ and press enter

hit CTRL+C to stop end edit /etc/apt/sources.list

# nano /etc/apt/sources.list

give # in front of deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ – Official kfreebsd-i386 CD Binary-1 20110205-22:58]/ squeeze main line.

Re try one more time.

t# apt-get update
Get:1 squeeze/updates Release.gpg [836 B]
Get:2 squeeze Release.gpg [1,671 B]
Ign squeeze/updates/main Translation-en
Ign squeeze/main Translation-en
Ign squeeze/updates/main Translation-en_US
Hit squeeze/updates Release
Ign squeeze/main Translation-en_US
Hit squeeze/updates/main Sources
Get:3 squeeze-updates Release.gpg [836 B]
Hit squeeze/updates/main kfreebsd-i386 Packages
Ign squeeze-updates/main Translation-en
Ign squeeze-updates/main Translation-en_US
Hit squeeze Release
Get:4 squeeze-updates Release [113 kB]
Hit squeeze/main Sources
Hit squeeze/main kfreebsd-i386 Packages
Hit squeeze-updates/main Sources/DiffIndex
Hit squeeze-updates/main kfreebsd-i386 Packages/DiffIndex
Hit squeeze-updates/main kfreebsd-i386 Packages
Fetched 117 kB in 12s (9,015 B/s)
Reading package lists… Done


# apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be upgraded:
base-files bind9-host dnsutils exim4 exim4-base exim4-config exim4-daemon-light host isc-dhcp-client isc-dhcp-common
kfreebsd-image-8-686 kfreebsd-image-8.1-1-686 libbind9-60 libdns69 libisc62 libisccc60 libisccfg62 liblwres60 python
python-minimal tzdata
21 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.8 MB of archives.
After this operation, 12.3 kB of additional disk space will be used.
Do you want to continue [Y/n]? y

Get:1 squeeze/main base-files kfreebsd-i386 6.0squeeze1 [63.3 kB]
Get:2 squeeze/updates/main isc-dhcp-client kfreebsd-i386 4.1.1-P1-15+squeeze2 [253 kB]
Get:3 squeeze-updates/main tzdata all 2011d-0squeeze1 [767 kB]
Get:4 squeeze/updates/main isc-dhcp-common kfreebsd-i386 4.1.1-P1-15+squeeze2 [314 kB]
Get:5 squeeze/updates/main dnsutils kfreebsd-i386 1:9.7.3.dfsg-1~squeeze1 [153 kB]
Get:6 squeeze/main python all 2.6.6-3+squeeze6 [168 kB]
Get:7 squeeze/updates/main bind9-host kfreebsd-i386 1:9.7.3.dfsg-1~squeeze1 [67.2 kB]
Get:8 squeeze/updates/main libisc62 kfreebsd-i386 1:9.7.3.dfsg-1~squeeze1 [153 kB]
Get:9 squeeze/main python-minimal all 2.6.6-3+squeeze6 [33.8 kB]
Get:10 squeeze/main kfreebsd-image-8.1-1-686 kfreebsd-i386 8.1+dfsg-8 [10.9 MB]
Get:11 squeeze/updates/main libdns69 kfreebsd-i386 1:9.7.3.dfsg-1~squeeze1 [664 kB]
Get:12 squeeze/updates/main libisccc60 kfreebsd-i386 1:9.7.3.dfsg-1~squeeze1 [30.8 kB]
Get:13 squeeze/updates/main libisccfg62 kfreebsd-i386 1:9.7.3.dfsg-1~squeeze1 [50.3 kB]
Get:14 squeeze/updates/main liblwres60 kfreebsd-i386 1:9.7.3.dfsg-1~squeeze1 [50.0 kB]
Get:15 squeeze/updates/main host all 1:9.7.3.dfsg-1~squeeze1 [17.8 kB]
Get:16 squeeze/updates/main libbind9-60 kfreebsd-i386 1:9.7.3.dfsg-1~squeeze1 [38.3 kB]
Get:17 squeeze/updates/main exim4-config all 4.72-6+squeeze1 [464 kB]




Setting up exim4-daemon-light (4.72-6+squeeze1) …
Starting MTA: exim4.
Setting up exim4 (4.72-6+squeeze1) …
Setting up python-minimal (2.6.6-3+squeeze6) …
Setting up python (2.6.6-3+squeeze6) …
Setting up kfreebsd-image-8.1-1-686 (8.1+dfsg-8) …
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 8.1-1-686 /boot/kfreebsd-8.1-1-686.gz
Generating grub.cfg …
Found kernel of FreeBSD: /boot/kfreebsd-8.1-1-686.gz
Found kernel module directory: /lib/modules/8.1-1-686
grep: /proc/swaps: No such file or directory
Setting up kfreebsd-image-8-686 (8.1+dfsg-8) …

# uname -a
GNU/kFreeBSD debian 8.1-1-686 #0 Tue Jan  4 17:59:05 UTC 2011 i686 i386 Intel(R) Atom(TM) CPU N550   @ 1.50GHz GNU/kFreeBSD