Sponsored Content
Full Discussion: TXT Records: Usage
Special Forums IP Networking TXT Records: Usage Post 302886139 by Lost in Cyberia on Wednesday 29th of January 2014 08:24:15 PM
Old 01-29-2014
TXT Records: Usage

Ok..the last DNS question. I've been on a DNS kick lately. So when poking around, I keep bumping sites that have txt records all with cryptic, but yet similar text in them.. Something like:

Code:
cnn.com.		3305	IN	TXT	"882269757-4422010"
cnn.com.		3305	IN	TXT	"ms=ms97284866"
cnn.com.		3305	IN	TXT	"688162515-4422037"


What are these for? I keep getting referred to SPF for sending email, but it doesn't seem right.. who looks at these numbers? CNN alone has like 25 TXT records all with these types of numbers.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

echo "ABC" > file1.txt file2.txt file3.txt

Hi Guru's, I need to create 3 files with the contents "ABC" using single command. Iam using: echo "ABC" > file1.txt file2.txt file3.txt the above command is not working. pls help me... With Regards / Ganapati (4 Replies)
Discussion started by: ganapati
4 Replies

2. Shell Programming and Scripting

Extracting records with unique fields from a fixed width txt file

Greetings, I would like to extract records from a fixed width text file that have unique field elements. Data is structured like this: John A Smith NY Mary C Jones WA Adam J Clark PA Mary Jones WA Fieldname / start-end position Firstname 1-10... (8 Replies)
Discussion started by: sitney
8 Replies

3. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

4. UNIX for Dummies Questions & Answers

In BIND 9.3 DNS trying to get past the 256 char limit in SPF TXT records

One way I was told to do was incase strings in quotes. But I was given this option if I can get it to work. Will this work for splitting up SPF records? I am try to make bx.example.com reference spf.eu.***, spfa.eu.***, spfb.eu.***, and spfc.eu.***. spf.eu.example.com 3600 IN TXT "v=spf1... (0 Replies)
Discussion started by: tmanx
0 Replies

5. Web Development

robots.txt usage

Dear all, I want to use robots.txt to control the "spider". can i specify a IP address to ALLOW the website can be accessed by the "spider"?? thank you. Rick (4 Replies)
Discussion started by: rickhlwong
4 Replies

6. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

7. UNIX for Dummies Questions & Answers

find lines in file1.txt not found in file2.txt memory problem

I have a diff command that does what I want but when comparing large text/log files, it uses up all the memory I have (sometimes over 8gig of memory) diff file1.txt file2.txt | grep '^<'| awk '{$1="";print $0}' | sed 's/^ *//' Is there a better more efficient way to find the lines in one file... (5 Replies)
Discussion started by: raptor25
5 Replies

8. Shell Programming and Scripting

awk append fileA.txt to growing file B.txt

This is appending a column. My question is fairly simple. I have a program generating data in a form like so: 1 20 2 22 3 23 4 12 5 43 For ever iteration I'm generating this data. I have the basic idea with cut -f 2 fileA.txt | paste -d >> FileB.txt ???? I want FileB.txt to grow, and... (4 Replies)
Discussion started by: theawknewbie
4 Replies

9. Shell Programming and Scripting

Need to append the date | abcddate.txt to the first line of my txt file

I want to add/append the info in the following format to my.txt file. 20130702|abcd20130702.txt FN|SN|DOB I tried the below script but it throws me some exceptions. <#!/bin/sh dt = date '+%y%m%d'members; echo $dt+|+members+$dt; /usr/bin/awk -f BEGIN { FS="|"; OFS="|"; } { print... (6 Replies)
Discussion started by: harik1982
6 Replies

10. Shell Programming and Scripting

Desired output.txt for reading txt file using awk?

Dear all, I have a huge txt file (DATA.txt) with the following content . From this txt file, I want the following output using some shell script. Any help is greatly appreciated. Greetings, emily DATA.txt (snippet of the huge text file) 407202849... (2 Replies)
Discussion started by: emily
2 Replies
Net::DNS::Update(3pm)					User Contributed Perl Documentation				     Net::DNS::Update(3pm)

NAME
Net::DNS::Update - Create a DNS update packet SYNOPSIS
"use Net::DNS::Update;" DESCRIPTION
"Net::DNS::Update" is a subclass of "Net::DNS::Packet", to be used for making DNS dynamic updates. Programmers should refer to RFC 2136 for the semantics of dynamic updates. WARNING: This code is still under development. Please use with caution on production nameservers. METHODS
new $packet = Net::DNS::Update->new; $packet = Net::DNS::Update->new('example.com'); $packet = Net::DNS::Update->new('example.com', 'HS'); Returns a "Net::DNS::Update" object suitable for performing a DNS dynamic update. Specifically, it creates a packet with the header opcode set to UPDATE and the zone record type to SOA (per RFC 2136, Section 2.3). Programs must use the "push" method to add RRs to the prerequisite, update, and additional sections before performing the update. Arguments are the zone name and the class. If the zone is omitted, the default domain will be taken from the resolver configuration. If the class is omitted, it defaults to IN. Future versions of "Net::DNS" may provide a simpler interface for making dynamic updates. EXAMPLES
The first example below shows a complete program; subsequent examples show only the creation of the update packet. Add a new host #!/usr/bin/perl -w use Net::DNS; use strict; # Create the update packet. my $update = Net::DNS::Update->new('example.com'); # Prerequisite is that no A records exist for the name. $update->push(pre => nxrrset('foo.example.com. A')); # Add two A records for the name. $update->push(update => rr_add('foo.example.com. 86400 A 192.168.1.2')); $update->push(update => rr_add('foo.example.com. 86400 A 172.16.3.4')); # Send the update to the zone's primary master. my $res = Net::DNS::Resolver->new; $res->nameservers('primary-master.example.com'); my $reply = $res->send($update); # Did it work? if ($reply) { if ($reply->header->rcode eq 'NOERROR') { print "Update succeeded "; } else { print 'Update failed: ', $reply->header->rcode, " "; } } else { print 'Update failed: ', $res->errorstring, " "; } Add an MX record for a name that already exists my $update = Net::DNS::Update->new('example.com'); $update->push(pre => yxdomain('example.com')); $update->push(update => rr_add('example.com MX 10 mailhost.example.com')); Add a TXT record for a name that doesn't exist my $update = Net::DNS::Update->new('example.com'); $update->push(pre => nxdomain('info.example.com')); $update->push(update => rr_add('info.example.com TXT "yabba dabba doo"')); Delete all A records for a name my $update = Net::DNS::Update->new('example.com'); $update->push(pre => yxrrset('foo.example.com A')); $update->push(update => rr_del('foo.example.com A')); Delete all RRs for a name my $update = Net::DNS::Update->new('example.com'); $update->push(pre => yxdomain('byebye.example.com')); $update->push(update => rr_del('byebye.example.com')); Perform a signed update my $key_name = 'tsig-key'; my $key = 'awwLOtRfpGE+rRKF2+DEiw=='; my $update = Net::DNS::Update->new('example.com'); $update->push(update => rr_add('foo.example.com A 10.1.2.3')); $update->push(update => rr_add('bar.example.com A 10.4.5.6')); $update->sign_tsig($key_name, $key); Another way to perform a signed update my $key_name = 'tsig-key'; my $key = 'awwLOtRfpGE+rRKF2+DEiw=='; my $update = Net::DNS::Update->new('example.com'); $update->push(update => rr_add('foo.example.com A 10.1.2.3')); $update->push(update => rr_add('bar.example.com A 10.4.5.6')); $update->push(additional => Net::DNS::RR->new("$key_name TSIG $key")); Perform a signed update with a customized TSIG record my $key_name = 'tsig-key'; my $key = 'awwLOtRfpGE+rRKF2+DEiw=='; my $tsig = Net::DNS::RR->new("$key_name TSIG $key"); $tsig->fudge(60); my $update = Net::DNS::Update->new('example.com'); $update->push(update => rr_add('foo.example.com A 10.1.2.3')); $update->push(update => rr_add('bar.example.com A 10.4.5.6')); $update->push(additional => $tsig); BUGS
This code is still under development. Please use with caution on production nameservers. COPYRIGHT
Copyright (c) 1997-2002 Michael Fuhr. Portions Copyright (c) 2002-2004 Chris Reinhardt. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Header, Net::DNS::Packet, Net::DNS::Question, Net::DNS::RR, RFC 2136, RFC 2845 perl v5.14.2 2009-12-30 Net::DNS::Update(3pm)
All times are GMT -4. The time now is 04:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy