Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to change the MTU in Unix registry? Post 10936 by Techie_girl on Sunday 25th of November 2001 08:04:08 PM
Old 11-25-2001
Thanks NEO

I had a feeling that was the answer since I couldn't find any info. on it. Thanks for your reply.

Have a great week,
Techie girl
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Comparable registry file in UNIX

Hi all, I am totally new to UNIX. I am currently using converting an existing software package from MFC C++ to wxwindow which allows the software to run under Windows and UNIX. My problem is my existing software package writes to and from the registry. How is this accomplished in UNIX? ... (2 Replies)
Discussion started by: DavidCountry
2 Replies

2. Solaris

MTU Value

Hi guys, Do anyone know how to change the MTU value on an interface on Solaris 10 server? (2 Replies)
Discussion started by: shabu
2 Replies

3. UNIX for Dummies Questions & Answers

Registry

what Unix systems have for registry? windows have registry. Unix have ??? (1 Reply)
Discussion started by: cs05pp2
1 Replies

4. Solaris

MTU setting - solaris 9 how to check??

I need to check the mtu setting on my server, I am told I need to use the ndd command and check the tcp setting tcp_mss_max I have done so and all I can see is the below, tcp_mss_def_ipv4 (read and write) tcp_mss_max_ipv4 (read and write) How can I check the... (4 Replies)
Discussion started by: frustrated1
4 Replies

5. UNIX for Advanced & Expert Users

Read/update windows registry using UNIX script

Hi, I have a requirement where in to read the registry value of a windows NT based system from a AIX server which should be automatic. For eg. the script should connect to the Win NT system, read the registry as specified on the input and display the output on the AIX screen? Eg. <script... (3 Replies)
Discussion started by: sathish57
3 Replies

6. HP-UX

MTU size

Hi, Just want to ask on how to check and change the MTU size of the nodes from 1500 to 9000? I need to match the MTU size of some cluster nodes which has 1500 to the others with 9000 because they are inconsistent. Thanks (1 Reply)
Discussion started by: criphaze22
1 Replies

7. IP Networking

Packet Length greater than MTU

Hello, I would appreciate some help with the following. We have 3 SUN X4450 servers, each of these servers talk to each other, one is an application server the other is a database server and the third is a web server. We also have numerous workstation and ACD connections. When I snoop the... (1 Reply)
Discussion started by: giles.cardew
1 Replies

8. IP Networking

IPV6 very slow, not respecting MTU??

Hi, Curious problem with IPV6. Situation is wget request from squid proxy via intermediate router. With IPV4 (wget -4) speed is ~100MB/sec. With IPV6 (wget -6) it drops to 30KB/sec. Examining the traffic with tcpdump shows that the squid box is regularly sending out over-sized packets (>MTU)... (5 Replies)
Discussion started by: jusme
5 Replies

9. UNIX for Dummies Questions & Answers

MTU setting for IRIX

Couldn't find an IRIX forum, so I'm posting to this one... Just had our SAs rebuild an IRIX machine and now I need to set the MTU to 1344 (vice 1500 default). I can set it manually using the ifconfig command, but it won't survive a reboot. I made an entry into the /etc/init.d/ifconfig-1.options... (0 Replies)
Discussion started by: scottwevans
0 Replies
Net::DNS::Nameserver(3) 				User Contributed Perl Documentation				   Net::DNS::Nameserver(3)

NAME
Net::DNS::Nameserver - DNS server class SYNOPSIS
"use Net::DNS::Nameserver;" DESCRIPTION
Instances of the "Net::DNS::Nameserver" class represent simple DNS server objects. See "EXAMPLE" for an example. METHODS
new my $ns = Net::DNS::Nameserver->new( LocalAddr => "10.1.2.3", LocalPort => "5353", ReplyHandler => &reply_handler, Verbose => 1 ); Creates a nameserver object. Attributes are: LocalAddr IP address on which to listen. Defaults to INADDR_ANY. LocalPort Port on which to listen. Defaults to 53. ReplyHandler Reference to reply-handling subroutine. Required. Verbose Print info about received queries. Defaults to 0 (off). The ReplyHandler subroutine is passed the query name, query class, and query type. It must return the response code and references to the answer, authority, and additional sections of the response. Common response codes are: NOERROR No error FORMERR Format error SERVFAIL Server failure NXDOMAIN Non-existent domain (name doesn't exist) NOTIMP Not implemented REFUSED Query refused See RFC 1035 and the IANA dns-parameters file for more information: ftp://ftp.rfc-editor.org/in-notes/rfc1035.txt http://www.isi.edu/in-notes/iana/assignments/dns-parameters The nameserver will listen for both UDP and TCP connections. On Unix-like systems, the program will probably have to run as root to listen on the default port, 53. A non-privileged user should be able to listen on ports 1024 and higher. Returns a Net::DNS::Nameserver object, or undef if the object couldn't be created. See "EXAMPLE" for an example. main_loop $ns->main_loop; Start accepting queries. EXAMPLE
The following example will listen on port 5353 and respond to all queries for A records with the IP address 10.1.2.3. All other queries will be answered with NXDOMAIN. Authority and additional sections are left empty. #!/usr/bin/perl -Tw use Net::DNS; use strict; sub reply_handler { my ($qname, $qclass, $qtype) = @_; my ($rcode, @ans, @auth, @add); if ($qtype eq "A") { my ($ttl, $rdata) = (3600, "10.1.2.3"); push @ans, Net::DNS::RR->new("$qname $ttl $qclass $qtype $rdata"); $rcode = "NOERROR"; } else { $rcode = "NXDOMAIN"; } return ($rcode, @ans, @auth, @add); } my $ns = Net::DNS::Nameserver->new( LocalPort => 5353, ReplyHandler => &reply_handler, Verbose => 1 ); if ($ns) { $ns->main_loop; } else { die "couldn't create nameserver object "; } BUGS
Net::DNS::Nameserver objects can handle only one query at a time. COPYRIGHT
Copyright (c) 2000-2002 Michael Fuhr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet, Net::DNS::Update, Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 1035 perl v5.8.0 2002-05-31 Net::DNS::Nameserver(3)
All times are GMT -4. The time now is 06:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy