Routing Crunch: Reliance-Flagtel to Neotel South Africa

Anurag Bhatia
Quick traceroute between Reliance and Neotel (South African subsidiary of Tata Communications) Using Reliance Mumbai node: You requested a Traceroute from Mumbai (62.216.135.130) to neotel.co.za (41.168.1.110) 1 ge-0-2-0.0.pjr02.mmb004.flagtel.com (85.95.25.70) 80.252 ms 79.822 ms 79.737 ms MPLS Label=351552 CoS=0 TTL=1 S=1 2 so-1-3-0.0.pjr02.hkg005.flagtel.com (85.95.25.118) 79.688 ms 79.717 ms 79.779 ms MPLS Label=301328 CoS=0 TTL=1 S=1 3 so-5-0-0.0.cjr04.hkg003.flagtel.com (85.95.25.214) 79.790 ms 81.271 ms 84.868 ms MPLS Label=300272 CoS=0 TTL=1 S=1 4 xe-1-2-0.0.cji01.hkg003.flagtel.com (62.

Quick simple script for automated database dumps

Anurag Bhatia
I tried looking for script for database dumps but most of them are way too complex then a simple solution one can implement. Thus, I wrote a quick simple 1 page (infact few lines) bash script for database dumps. Here’s the code: #!/bin/bash #Script for MySQL automated dumps dbhost=DB-HOSTNAME-HERE dbusername=DB-USERNAME-HERE dbpassword=DB-PASSWORD-HERE # Enter database names here dbname=( database1 database2 database3 ) for i in "${dbname[@]}" do timestamp=backup_`date +%F.%T` output=$i+$timestamp mysqldump -h $dbhost -u $dbusername -p$dbpassword -C $i | bzip2 -c > /backups/MySQL-automated/$output done To use this script, simply add names of database inside brackets in front of “dbname” like

Skype Vs Gmail phone: Quick check on latency with IP-PSTN gateways

Anurag Bhatia
I usually find that Gmail phone performs lot better then Skype for calls to PSTN. Usually latency on Skype is high as compared to Gmail phone in India (in US it was almost no difference). I looked around today and here’s bit of test data I collected by calling couple of numbers from Skype & Gmail phone & monitored UDP traffic to collect information about destination servers which is very likely IP-PSTN gateway.

Script to keep track of IP address of machine

Anurag Bhatia
Just now realized that I have over few thousand files in “Latest IP” directory. This is result of poor workaround I created sometimes back to keep track of IP address. To fix it, I wrote a quick shell script and good enough - it works! :) Prime purpose of this script is to write latest IP address along with date/time stamp. Thus, one can simply call this script from cron job to keep track of IP address usage.

Messed up SPF record of mtsindia.in domain

Anurag Bhatia
Yesterday I called MTS Data Card support but their IVRS system was failing in giving me my balance details. Eventually I decided to email their support and glad to say support email was also easily available on their website. Today I saw acknowledgement mail in spam. No big deal but I usually dig around genuine mails which go in spam to find exact cause. In this case I found mail was sent to me from customercare.