Sponsored Content
Full Discussion: solaris dns
Operating Systems Solaris solaris dns Post 302346696 by sikander on Monday 24th of August 2009 12:13:17 AM
Old 08-24-2009
Bug contents of named.conf and /var/named/db.gmail.com

Thanks bartus11 for your reply.Smilie
contents of zone entry for gmail.com in the forward zone only are given below
Code:
zone "gmail.com"
{
type master;
file "db.gmail.com";
};

all contents of /var/named/db.gmail.com are
Code:
$TTL 86400
;
;{name} {ttl} Class SOA   Origin                  Postmaster
;----------------------------------------------------------------------------------
@              IN   SOA  www.gmail.com.              root.www.gmail.com. (
                          2005010101                  ; Serial
                          3600                        ; Refresh (1 Hour)
                          1800                        ; Retry (30 Minutes)
                          6048000                     ; Expire (1 Week)
                          86400 )                     ; Minimum (24 Hours)
;
;{name} {ttl} Class NS Nameserver Name
;------------------------------------------------------
              IN    NS www.gmail.com.
;
;{name} {ttl} Class A IP Address
;-------------------------------------------------
www        IN     A      192.168.50.153
gmail.com.  IN     A      192.168.50.153

gmail.com.  IN MX 155555             www.gmail.com
localhost     IN     A      127.0.0.1

one more thing please do i have to change the TTL serial number because it is same in my primary server dns zone file do i have to make any entry for this domain(gmail.com) or zone in my primary dns zone file, if yes then please guide.

Looking forward to hear from you . Thanks in advance.

Regards,
Sikander

Last edited by vbe; 08-24-2009 at 05:37 AM.. Reason: TRied to add code tags...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris 5.8 DNS

Allright, Thanks to http://docs.sun.com I've got the tcp/ip portion of my box working now. I can see anything I want, as long as it's got a numerical address. Does anyone know how to add just a DNS entry? like reference my dns server, and configure my host name? (1 Reply)
Discussion started by: veitcha
1 Replies

2. UNIX for Dummies Questions & Answers

DNS on Solaris 2.6

I just setup Solaris 2.6 on my Sparc 10 and I cannot figure out how to configure my DNS settings. I am using @home as my ISP and they assigned me two DNS servers to use and a domain. I created a "resolv.conf" file in my etc folder and added the following exactly as shown: domain... (4 Replies)
Discussion started by: jskillet
4 Replies

3. IP Networking

Solaris DHCP and DNS

I have managed to setup my Solaris box to receive an IP number from a DHCP server. In addition, I can ping and telnet between my dhcp server and my solaris box using the IP number. However, I can't resolve addresses by name from my solaris box. In my nsswitch.conf file I have: hosts: dns ... (4 Replies)
Discussion started by: marist89
4 Replies

4. UNIX for Dummies Questions & Answers

DNS on Solaris 9

I installed bind 9 on Solaris 9 (intel) but don't know how to have the named service start on bootup. Is there a script hidden somewhere? (2 Replies)
Discussion started by: kiddaniels
2 Replies

5. Solaris

DNS on Solaris 9

How do I set the Primary and secondary DNS name server for a Sparc IIi running Solaris 9. I have already put them in the resolv.conf file but they still do not work. (5 Replies)
Discussion started by: Atreus
5 Replies

6. Solaris

Solaris DNS Client For Microsoft DNS Server

hey guys, how to add soalris box as a microsoft DNS Client ? and how to register in the microsoft DNS ?? i managed to query from the DNS server after adding /etc/resolve.conf and editing /etc/nsswitch.conf but i need to register the soalris server (dns Client) into Microsoft DNS automatically.... (3 Replies)
Discussion started by: mduweik
3 Replies

7. Solaris

DNS Services on Solaris

We need a DNS Server on DNS 10. What the best product can i buy and install ? Help me, pls. Tks all. (1 Reply)
Discussion started by: quan0509
1 Replies

8. Solaris

solaris - BIND / DNS

hi all forgive my ignorance, but when IVe set up DNS Ive put in the various server details in the /etc/resolv.conf and away I go. Suddenly Ive been reading about DNS, and I need to created a /etc/named.conf file. so, my question is this. DNS, what part does the /etc/resolv.conf play in... (3 Replies)
Discussion started by: sbk1972
3 Replies

9. Solaris

Solaris 10 - DNS / Issues / Help

Hi all Long time no speak, I hope you are all well. Im looking at a DNS issue here and reckon Igot a AD / DNS server issue elsewhere but need to rule out the configuration of my two server's first. IVe got the nameserver enteries in /etc/resolv.conf and dns in the /etc/nsswitch.conf ... (2 Replies)
Discussion started by: sbk1972
2 Replies

10. Solaris

How to add new Solaris client IP into Solaris 10 DNS server?

Hi, We just built a new Solaris 10 zone. And would like to add it to our DNS server. Its also Solaris 10. Please let me know how can I get the IP resolved using this DNS server. I added entry into zone config file but not working. I did restarted the DNS services. And also added nameserver name... (5 Replies)
Discussion started by: snchaudhari2
5 Replies
MODBUS_READ_INPUT_RE(3) 					 Libmodbus Manual					   MODBUS_READ_INPUT_RE(3)

NAME
modbus_read_input_registers - read many input registers SYNOPSIS
int modbus_read_input_registers(modbus_t *ctx, int addr, int nb, uint16_t *dest); DESCRIPTION
The modbus_read_input_registers() function shall read the content of the nb input registers to address addr of the remote device. The result of the reading is stored in dest array as word values (16 bits). You must take care to allocate enough memory to store the results in dest (at least nb * sizeof(uint16_t)). The function uses the Modbus function code 0x04 (read input registers). The holding registers and input registers have different historical meaning, but nowadays it's more common to use holding registers only. RETURN VALUE
The modbus_read_input_registers() function shall return the number of read input registers if successful. Otherwise it shall return -1 and set errno. ERRORS
EMBMDATA Too many bits requested SEE ALSO
modbus_read_input_bits(3) modbus_write_register(3) modbus_write_registers(3) AUTHORS
The libmodbus documentation was written by Stephane Raimbault <stephane.raimbault@gmail.com[1]> NOTES
1. stephane.raimbault@gmail.com mailto:stephane.raimbault@gmail.com libmodbus 3.0.3 05/26/2012 MODBUS_READ_INPUT_RE(3)
All times are GMT -4. The time now is 08:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy